libstdc++: Add missing std::tuple constructor [PR114147]
commit0a545ac7000501844670add0b3560ebdbcb123c6
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Mar 2024 11:16:58 +0000 (1 11:16 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 4 Mar 2024 20:24:58 +0000 (4 20:24 +0000)
treecf078b60c9208aaa4710dedbd722dd83fe60c92f
parenteae6b63b5b5426f943f58b5ae0bf0a6068ca8ad6
libstdc++: Add missing std::tuple constructor [PR114147]

I caused a regression with commit r10-908 by adding a constraint to the
non-explicit allocator-extended default constructor, but seemingly
forgot to add an explicit overload with the corresponding constraint.

libstdc++-v3/ChangeLog:

PR libstdc++/114147
* include/std/tuple (tuple::tuple(allocator_arg_t, const Alloc&)):
Add missing overload of allocator-extended default constructor.
(tuple<T1,T2>::tuple(allocator_arg_t, const Alloc&)): Likewise.
* testsuite/20_util/tuple/cons/114147.cc: New test.
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/114147.cc [new file with mode: 0644]