]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Define __cpp_lib_constexpr_algorithms in <utility> (LWG 3792)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 22 Mar 2023 12:55:29 +0000 (12:55 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 22 Mar 2023 17:48:20 +0000 (17:48 +0000)
commit924d990425d29ef39f3faac49d4a3772e4302c96
tree02443b3873b69a736a58e27ccc8143d610266dd9
parent02e86035d30e9f7b8645ebb64f4028900fc37126
libstdc++: Define __cpp_lib_constexpr_algorithms in <utility> (LWG 3792)

We actually defined this macro in <utility> at one point, but I removed
it in r10-7901-g2025db692e9ed1.

libstdc++-v3/ChangeLog:

* include/std/utility (__cpp_lib_constexpr_algorithms): Define,
as per LWG 3792.
* testsuite/20_util/exchange/constexpr.cc: Check for it.
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/exchange/constexpr.cc