diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2016-12-19 14:55:33 +0200 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2016-12-19 14:55:33 +0200 |
commit | 4b21c3ea03540ba1d89bca16561820f0911e17ce (patch) | |
tree | e5d7b3004bcfea8c1985fe2c6450e7e6c70b500e /gcc | |
parent | 99eb50e806f51a37f8188fd268a6abbb7d292927 (diff) | |
download | gcc-4b21c3ea03540ba1d89bca16561820f0911e17ce.zip gcc-4b21c3ea03540ba1d89bca16561820f0911e17ce.tar.gz gcc-4b21c3ea03540ba1d89bca16561820f0911e17ce.tar.bz2 |
Make the perfect-forwarding constructor of a two-element tuple sfinae away when the first argument is an allocator_arg.
Make the perfect-forwarding constructor of a two-element tuple
sfinae away when the first argument is an allocator_arg.
* include/std/tuple (tuple(_U1&&, _U2&&)): Constrain.
* testsuite/20_util/tuple/cons/allocator_with_any.cc: New.
* testsuite/20_util/tuple/element_access/get_neg.cc: Adjust.
From-SVN: r243795
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions