r237106 - in /trunk/libstdc++-v3: ChangeLog inc...
ville@gcc.gnu.org
ville@gcc.gnu.org
Sun Jun 5 17:39:00 GMT 2016
Author: ville
Date: Sun Jun 5 17:39:10 2016
New Revision: 237106
URL: https://gcc.gnu.org/viewcvs?rev=237106&root=gcc&view=rev
Log:
Protect allocator-overloads of tuple-from-tuple constructors
from cases that would create dangling references.
* include/std/tuple (tuple(allocator_arg_t, const _Alloc&,
const tuple<_UElements...>&), tuple(allocator_arg_t, const _Alloc&,
tuple<_UElements...>&&)): Add a check for _NonNestedTuple.
* testsuite/20_util/tuple/cons/nested_tuple_construct.cc: Adjust.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/tuple
trunk/libstdc++-v3/testsuite/20_util/tuple/cons/nested_tuple_construct.cc
More information about the Libstdc++-cvs
mailing list