]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Add missing std::tuple constructor [PR114147]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 1 Mar 2024 11:16:58 +0000 (11:16 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 18 Mar 2024 10:49:48 +0000 (10:49 +0000)
commitfbdeeb1604d52a8ece8631f70ecd64d925d31741
tree3504c86b74266d8f33a335acd16aafb75312a203
parentb011a8d741ddd49bf90a83475bb1cbded837d5bd
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.

(cherry picked from commit 0a545ac7000501844670add0b3560ebdbcb123c6)
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/114147.cc [new file with mode: 0644]
This page took 0.063296 seconds and 6 git commands to generate.