diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2015-09-25 19:41:45 +0300 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2015-09-25 19:41:45 +0300 |
commit | 5e2f2cd5842d2543721a895c64a3b2a553542344 (patch) | |
tree | 4b6be450261dddabdc4c78c3e479be2e192f2ee6 /gcc | |
parent | 41d9f1e0397b3661f765d21d8397e2a54aa4cd55 (diff) | |
download | gcc-5e2f2cd5842d2543721a895c64a3b2a553542344.zip gcc-5e2f2cd5842d2543721a895c64a3b2a553542344.tar.gz gcc-5e2f2cd5842d2543721a895c64a3b2a553542344.tar.bz2 |
Avoid creating dangling references in case of nested tuples
for tuple constructors that construct from other tuples.
2015-09-25 Ville Voutilainen <ville.voutilainen@gmail.com>
Avoid creating dangling references in case of nested tuples
for tuple constructors that construct from other tuples.
* include/std/tuple (_TC::_NonNestedTuple): New.
* include/std/tuple (tuple::_TNTC): New.
* include/std/tuple (tuple(const tuple<_UElements...>&),
tuple(tuple<_UElements...>&&): Use _TNTC.
* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: New.
From-SVN: r228134
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions