libstdc++: Do not define __cpp_lib_constexpr_algorithms in <utility>
authorJonathan Wakely <jwakely@redhat.com>
Wed, 22 Apr 2020 21:54:35 +0000 (22:54 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 22 Apr 2020 21:54:35 +0000 (22:54 +0100)
commit2025db692e9ed1192f831bc122413a226987515c
treeeac4fe03bdc3cc236544d46564d0939b20f85d6b
parentc9313582d82e0768a3a68250dc97d82a9ad3c116
libstdc++: Do not define __cpp_lib_constexpr_algorithms in <utility>

The C++20 draft and SD-6 both say this should only be in <version> and
<algorithm>, not in <utility>.

* include/std/utility (__cpp_lib_constexpr_algorithms): Do not define
here.
* testsuite/20_util/exchange/constexpr.cc: Do not expect macro to be
defined by <utility>.
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/utility
libstdc++-v3/testsuite/20_util/exchange/constexpr.cc