libstdc++: Fix last std::tuple constructor missing 'constexpr' [PR102270]
authorJonathan Wakely <jwakely@redhat.com>
Fri, 17 Sep 2021 11:27:02 +0000 (12:27 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 17 Sep 2021 19:43:34 +0000 (20:43 +0100)
commit1fa2c5a695bb962ffcf8abed49f69cdcc59d0e61
tree7985855213466a319a42267279bee1a13a4b5b60
parent2961ac45b9e19523958757e607d11c5893d6368b
libstdc++: Fix last std::tuple constructor missing 'constexpr' [PR102270]

Also rename the test so it actually runs.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

PR libstdc++/102270
* include/std/tuple (_Tuple_impl): Add constexpr to constructor
missed in previous patch.
* testsuite/20_util/tuple/cons/102270.C: Moved to...
* testsuite/20_util/tuple/cons/102270.cc: ...here.
* testsuite/util/testsuite_allocator.h (SimpleAllocator): Add
constexpr to constructor so it can be used for C++20 tests.
libstdc++-v3/include/std/tuple
libstdc++-v3/testsuite/20_util/tuple/cons/102270.cc [moved from libstdc++-v3/testsuite/20_util/tuple/cons/102270.C with 95% similarity]
libstdc++-v3/testsuite/util/testsuite_allocator.h