diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-03-27 23:21:58 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-03-27 23:26:03 +0000 |
commit | b8a28a06eafafae47ee92fe640b334a8d1e4758a (patch) | |
tree | a475f6510ae977e8029e70663fa91788ba043402 /gcc/tree-ssa-reassoc.c | |
parent | 81a8d137c22953df2ea046466c62cd26c0dba103 (diff) | |
download | gcc-b8a28a06eafafae47ee92fe640b334a8d1e4758a.zip gcc-b8a28a06eafafae47ee92fe640b334a8d1e4758a.tar.gz gcc-b8a28a06eafafae47ee92fe640b334a8d1e4758a.tar.bz2 |
libstdc++: Define __cpp_lib_ranges macro for C++20
Define the feature test macro now that ranges support is complete.
This also changes the preprocessor checks for the __cpp_concepts macro
so that library components depending on concepts are only enabled when
C++20 concepts are supported, and not just for the Concepts TS (which
uses different syntax in places).
* include/bits/range_cmp.h (__cpp_lib_ranges): Define.
* include/bits/stl_iterator.h: Check value of __cpp_concepts so that
C++20 concepts are required.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/std/concepts: Likewise.
* include/std/version: Likewise.
* testsuite/std/ranges/headers/ranges/synopsis.cc: Check feature test
macro.
Diffstat (limited to 'gcc/tree-ssa-reassoc.c')
0 files changed, 0 insertions, 0 deletions