[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 16 22:07:06 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:734b2c2eedca50d966e22540fc136158c3633393
commit r12-3592-g734b2c2eedca50d966e22540fc136158c3633393
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Sep 15 21:53:35 2021 +0100
libstdc++: Add missing 'constexpr' to std::tuple [PR102270]
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:
PR libstdc++/102270
* include/std/tuple (_Head_base, _Tuple_impl): Add
_GLIBCXX20_CONSTEXPR to allocator-extended constructors.
(tuple<>::swap(tuple&)): Add _GLIBCXX20_CONSTEXPR.
* testsuite/20_util/tuple/cons/102270.C: New test.
More information about the Gcc-bugs
mailing list