r243797 - in /branches/gcc-5-branch/libstdc++-v...

ville@gcc.gnu.org ville@gcc.gnu.org
Mon Dec 19 15:22:00 GMT 2016


Author: ville
Date: Mon Dec 19 15:22:05 2016
New Revision: 243797

URL: https://gcc.gnu.org/viewcvs?rev=243797&root=gcc&view=rev
Log:
Backport from mainline
2016-12-19  Ville Voutilainen  <ville.voutilainen@gmail.com>

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.

Added:
    branches/gcc-5-branch/libstdc++-v3/testsuite/20_util/tuple/cons/allocator_with_any.cc
Modified:
    branches/gcc-5-branch/libstdc++-v3/ChangeLog
    branches/gcc-5-branch/libstdc++-v3/include/std/tuple



More information about the Libstdc++-cvs mailing list