libstdc++: Update __cpp_lib_erase_if macro (P1115R3)
authorJonathan Wakely <jwakely@redhat.com>
Sat, 15 Feb 2020 09:02:30 +0000 (09:02 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Sat, 15 Feb 2020 10:25:23 +0000 (10:25 +0000)
commit55b00d14f4daf671b865550c119dafdeb3139672
tree19e1a0a3b3b592c4605f27089063534be39642c7
parent5b1d588509551291f4028497858ee9e04ce0bdee
libstdc++: Update __cpp_lib_erase_if macro (P1115R3)

Now that this feature has been approved for C++20 we can define the
macro to the official value.

* include/bits/erase_if.h (__cpp_lib_erase_if): Define to 202002L.
* include/std/deque: Likewise.
* include/std/forward_list: Likewise.
* include/std/list: Likewise.
* include/std/string: Likewise.
* include/std/vector: Likewise.
* include/std/version: Likewise.
* testsuite/23_containers/deque/erasure.cc: Test for new value.
* testsuite/23_containers/forward_list/erasure.cc: Likewise.
* testsuite/23_containers/list/erasure.cc: Likewise.
* testsuite/23_containers/map/erasure.cc: Likewise.
* testsuite/23_containers/set/erasure.cc: Likewise.
* testsuite/23_containers/unordered_map/erasure.cc: Likewise.
* testsuite/23_containers/unordered_set/erasure.cc: Likewise.
* testsuite/23_containers/vector/erasure.cc: Likewise.
16 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/erase_if.h
libstdc++-v3/include/std/deque
libstdc++-v3/include/std/forward_list
libstdc++-v3/include/std/list
libstdc++-v3/include/std/string
libstdc++-v3/include/std/vector
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/23_containers/deque/erasure.cc
libstdc++-v3/testsuite/23_containers/forward_list/erasure.cc
libstdc++-v3/testsuite/23_containers/list/erasure.cc
libstdc++-v3/testsuite/23_containers/map/erasure.cc
libstdc++-v3/testsuite/23_containers/set/erasure.cc
libstdc++-v3/testsuite/23_containers/unordered_map/erasure.cc
libstdc++-v3/testsuite/23_containers/unordered_set/erasure.cc
libstdc++-v3/testsuite/23_containers/vector/erasure.cc