]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Add missing 'constexpr' to std::tuple [PR102270]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 15 Sep 2021 20:53:35 +0000 (21:53 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 16 Sep 2021 22:06:31 +0000 (23:06 +0100)
commit734b2c2eedca50d966e22540fc136158c3633393
treeacba6d3d33c5ed42d6b76af64ccd4132127f7aaa
parente67917f5df9d84f5aed3513b3931a82870d25135
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.
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/102270.C [new file with mode: 0644]