diff mbox series

[2/3,11,backport] libstdc++: Sync __cpp_lib_ranges macro defined in ranges_cmp.h

Message ID 20220210165624.2953676-2-ppalka@redhat.com
State New
Headers show
Series [1/3,11,backport] libstdc++: Implement P2325 changes to default-constructibility of views | expand

Commit Message

Patrick Palka Feb. 10, 2022, 4:56 p.m. UTC
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 as well.

	PR libstdc++/103904

libstdc++-v3/ChangeLog:

	* include/bits/ranges_cmp.h (__cpp_lib_ranges): Adjust value.

(cherry picked from commit 12bdd39755a25d237b7776153cbe03e171396fc5)
---
 libstdc++-v3/include/bits/ranges_cmp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Wakely Feb. 11, 2022, 1:35 p.m. UTC | #1
On Thu, 10 Feb 2022 at 17:01, 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 as well.
>
>         PR libstdc++/103904
>
> libstdc++-v3/ChangeLog:
>
>         * include/bits/ranges_cmp.h (__cpp_lib_ranges): Adjust value.
>
> (cherry picked from commit 12bdd39755a25d237b7776153cbe03e171396fc5)

OK, thanks.


> ---
>  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.35.1.102.g2b9c120970
>
diff mbox series

Patch

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
 {