public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] libstdc++: Sync __cpp_lib_ranges macro defined in ranges_cmp.h
@ 2021-06-21 13:36 Patrick Palka
  2021-06-21 13:39 ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: Patrick Palka @ 2021-06-21 13:36 UTC (permalink / raw)
  To: gcc-patches; +Cc: libstdc++, Patrick Palka

r12-1606 bumped the value of __cpp_lib_ranges defined in <version>,
but this macro is also defined in <bits/range_cmp.h>, so it needs to
be updated there too.

libstdc++-v3/ChangeLog:

	* include/bits/ranges_cmp.h (__cpp_lib_ranges): Adjust value.
---
 libstdc++-v3/include/bits/ranges_cmp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/bits/ranges_cmp.h b/libstdc++-v3/include/bits/ranges_cmp.h
index f859a33b2c1..1d7da30dddf 100644
--- a/libstdc++-v3/include/bits/ranges_cmp.h
+++ b/libstdc++-v3/include/bits/ranges_cmp.h
@@ -57,7 +57,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
 
 #ifdef __cpp_lib_concepts
 // Define this here, included by all the headers that need to define it.
-#define __cpp_lib_ranges 201911L
+#define __cpp_lib_ranges 202106L
 
 namespace ranges
 {
-- 
2.32.0.93.g670b81a890


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] libstdc++: Sync __cpp_lib_ranges macro defined in ranges_cmp.h
  2021-06-21 13:36 [PATCH] libstdc++: Sync __cpp_lib_ranges macro defined in ranges_cmp.h Patrick Palka
@ 2021-06-21 13:39 ` Jonathan Wakely
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2021-06-21 13:39 UTC (permalink / raw)
  To: Patrick Palka; +Cc: gcc-patches, libstdc++

On Mon, 21 Jun 2021 at 14:37, Patrick Palka via Libstdc++
<libstdc++@gcc.gnu.org> wrote:
>
> r12-1606 bumped the value of __cpp_lib_ranges defined in <version>,
> but this macro is also defined in <bits/range_cmp.h>, so it needs to
> be updated there too.
>
> libstdc++-v3/ChangeLog:
>
>         * include/bits/ranges_cmp.h (__cpp_lib_ranges): Adjust value.

OK.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-21 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 13:36 [PATCH] libstdc++: Sync __cpp_lib_ranges macro defined in ranges_cmp.h Patrick Palka
2021-06-21 13:39 ` Jonathan Wakely

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).