]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Do not define __cpp_lib_ranges_iota in <ranges>
authorJonathan Wakely <jwakely@redhat.com>
Tue, 15 Apr 2025 13:00:23 +0000 (14:00 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 16 Apr 2025 08:39:24 +0000 (09:39 +0100)
In r14-7153-gadbc46942aee75 we removed a duplicate definition of
__glibcxx_want_range_iota from <ranges>, but __cpp_lib_ranges_iota
should be defined in <ranges> at all.

libstdc++-v3/ChangeLog:

* include/std/ranges (__glibcxx_want_ranges_iota): Do not
define.

(cherry picked from commit 25775e73ea4d40a55a26b71c42cc6509caf4845f)

libstdc++-v3/include/std/ranges

index fdfecf3527fed6d0dac20103c6f2df61ed8c3c0c..374a16b3fb6b45a70f13288219ecaefe74b551bf 100644 (file)
@@ -59,7 +59,6 @@
 #define __glibcxx_want_ranges_chunk
 #define __glibcxx_want_ranges_chunk_by
 #define __glibcxx_want_ranges_enumerate
-#define __glibcxx_want_ranges_iota
 #define __glibcxx_want_ranges_join_with
 #define __glibcxx_want_ranges_repeat
 #define __glibcxx_want_ranges_slide