]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR libstdc++/61947 (Ambiguous calls when constructing std::tuple)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 29 Jul 2014 17:30:34 +0000 (18:30 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 29 Jul 2014 17:30:34 +0000 (18:30 +0100)
commitf4081d133f455a869d196ae66ce8e8e96e329a33
tree3dc5cddfd2fcd2996793d023583ac2471255a6db
parentaec20dcf3914c7f60f92efd5b708759d2acc2460
re PR libstdc++/61947 (Ambiguous calls when constructing std::tuple)

PR libstdc++/61947
* include/std/tuple (_Head_base): Use allocator_arg_t parameters to
disambiguate unary constructors.
(_Tuple_impl): Pass allocator_arg_t arguments.
* testsuite/20_util/tuple/61947.cc: New.
* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error line.

From-SVN: r213221
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/61947.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/uses_allocator/cons_neg.cc