This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3 PATCH] Avoid creating dangling references in case of nested tuples for tuple constructors that construct from other tuples.


On 25/09/15 12:38 +0300, Ville Voutilainen wrote:
Tested on Linux-PPC64.

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.

OK, I guess, though it makes my head hurt!

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]