aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVille Voutilainen <ville.voutilainen@gmail.com>2016-06-05 20:39:10 +0300
committerVille Voutilainen <ville@gcc.gnu.org>2016-06-05 20:39:10 +0300
commit7a66745357510da6a18759839e4d8fc4715166a0 (patch)
tree109cc8e6e390f10f2dd43532ae7ba194cfaf4780 /gcc
parentb2d83bd2c78021ed68b04c9d426925ef947dddaf (diff)
downloadgcc-7a66745357510da6a18759839e4d8fc4715166a0.zip
gcc-7a66745357510da6a18759839e4d8fc4715166a0.tar.gz
gcc-7a66745357510da6a18759839e4d8fc4715166a0.tar.bz2
Protect allocator-overloads of tuple-from-tuple constructors from cases that would create dangling references.
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. From-SVN: r237106
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions