[Bug libstdc++/114147] [11/12/13 Regression] tuple allocator-extended constructor requires non-explicit default constructor
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Mar 16 10:19:36 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114147
--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
<redi@gcc.gnu.org>:
https://gcc.gnu.org/g:8a0a24b9a097452c576d5f409fe7efbafd6aef6b
commit r13-8457-g8a0a24b9a097452c576d5f409fe7efbafd6aef6b
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Fri Mar 1 11:16:58 2024 +0000
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)
More information about the Gcc-bugs
mailing list