On 25/09/15 12:38 +0300, Ville Voutilainen wrote:
Tested on Linux-PPC64.
2015-09-25 Ville Voutilainen <ville.voutilai...@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.
OK, I guess, though it makes my head hurt!
Thanks.