r228134 - in /trunk/libstdc++-v3: ChangeLog inc...

ville@gcc.gnu.org ville@gcc.gnu.org
Fri Sep 25 16:41:00 GMT 2015


Author: ville
Date: Fri Sep 25 16:41:45 2015
New Revision: 228134

URL: https://gcc.gnu.org/viewcvs?rev=228134&root=gcc&view=rev
Log:
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.

Added:
    trunk/libstdc++-v3/testsuite/20_util/tuple/cons/nested_tuple_construct.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/tuple



More information about the Libstdc++-cvs mailing list