public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9580] libstdc++: [_GLIBCXX_DEBUG] Define __cpp_lib_null_iterators
@ 2024-03-20 18:00 Francois Dumont
  0 siblings, 0 replies; only message in thread
From: Francois Dumont @ 2024-03-20 18:00 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:d2b25083a41347ce3d2875fcd932dcb08756058a

commit r14-9580-gd2b25083a41347ce3d2875fcd932dcb08756058a
Author: François Dumont <fdumont@gcc.gnu.org>
Date:   Wed Mar 20 06:47:20 2024 +0100

    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.

Diff:
---
 libstdc++-v3/include/bits/version.def | 1 -
 libstdc++-v3/include/bits/version.h   | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/libstdc++-v3/include/bits/version.def b/libstdc++-v3/include/bits/version.def
index be5af18e818..26e62c6a9b2 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 9107b45a484..23c8c09ab4b 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-20 18:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 18:00 [gcc r14-9580] libstdc++: [_GLIBCXX_DEBUG] Define __cpp_lib_null_iterators Francois Dumont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).