Make the perfect-forwarding constructor of a two-element tuple
commitdff08abcc8fc518e706e1a3d22025c34ca8085de
authorville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2016 12:55:33 +0000 (19 12:55 +0000)
committerville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2016 12:55:33 +0000 (19 12:55 +0000)
treee5d7b3004bcfea8c1985fe2c6450e7e6c70b500e
parentabbb5379f425614aa699e6dfa2cb6fa37e432ca8
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243795 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/allocator_with_any.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/tuple/element_access/get_neg.cc