Skip to content
Snippets Groups Projects
Commit 4b21c3ea authored by Ville Voutilainen's avatar Ville Voutilainen Committed by Ville Voutilainen
Browse files

Make the perfect-forwarding constructor of a two-element tuple sfinae away...

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
parent 99eb50e8
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment