diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2024-03-20 06:47:20 +0100 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2024-03-20 18:59:49 +0100 |
commit | d2b25083a41347ce3d2875fcd932dcb08756058a (patch) | |
tree | d8fb604211889975017821232a9e4ce63513fe1b /libstdc++-v3/include | |
parent | b05ee9b69e4644cefbb94a768c4ea302fd44b934 (diff) | |
download | gcc-d2b25083a41347ce3d2875fcd932dcb08756058a.zip gcc-d2b25083a41347ce3d2875fcd932dcb08756058a.tar.gz gcc-d2b25083a41347ce3d2875fcd932dcb08756058a.tar.bz2 |
libstdc++: [_GLIBCXX_DEBUG] Define __cpp_lib_null_iterators
_GLIBCXX_DEBUG has now fully N3344 compliant iterator checks, we can define
__cpp_lib_null_iterators macros like the normal mode.
libstdc++-v3/ChangeLog:
* include/bits/version.def (null_iterators): Remove extra_cond.
* include/bits/version.h: Regenerate.
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/version.def | 1 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/version.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/version.def b/libstdc++-v3/include/bits/version.def index be5af18..26e62c6 100644 --- a/libstdc++-v3/include/bits/version.def +++ b/libstdc++-v3/include/bits/version.def @@ -209,7 +209,6 @@ ftms = { values = { v = 201304; cxxmin = 14; - extra_cond = "!defined(_GLIBCXX_DEBUG)"; }; }; diff --git a/libstdc++-v3/include/bits/version.h b/libstdc++-v3/include/bits/version.h index 9107b45..23c8c09 100644 --- a/libstdc++-v3/include/bits/version.h +++ b/libstdc++-v3/include/bits/version.h @@ -214,7 +214,7 @@ #undef __glibcxx_want_make_reverse_iterator #if !defined(__cpp_lib_null_iterators) -# if (__cplusplus >= 201402L) && (!defined(_GLIBCXX_DEBUG)) +# if (__cplusplus >= 201402L) # define __glibcxx_null_iterators 201304L # if defined(__glibcxx_want_all) || defined(__glibcxx_want_null_iterators) # define __cpp_lib_null_iterators 201304L |