Derived from the changes that added C++2a support in 2017.
https://gcc.gnu.org/g:026a79f70cf33f836ea5275eda72d4870a3041e5
No C++23 features are added here.
Use of -std=c++23 sets __cplusplus to 202100L.
$ g++ -std=c++23 -dM -E -x c++ - < /dev/null | grep cplusplus
#define __cplusplus 202100L
On Tue, Jan 19, 2021 at 11:28 PM Jason Merrill wrote:
>
> On 1/10/21 7:28 PM, Paul Fee via Gcc-patches wrote:
> > [PATCH v2] c++: Add support for -std=c++2b
>
> Thanks!
>
> This patch was corrupted by word wrap, so it won't apply; if you can't
> suppress word wrap in yo
On Thu, Jan 14, 2021 at 5:06 PM Jonathan Wakely wrote:
>
> On 13/01/21 01:21 +, Paul Fee via Libstdc++ wrote:
> >Add contains member function to basic_string_view and basic_string.
> >
> >The new method is enabled for -std=gnu++20, gnu++2b and c++2b. This allows
> >users to access the method
Add contains member function to basic_string_view and basic_string.
The new method is enabled for -std=gnu++20, gnu++2b and c++2b. This allows
users to access the method as a GNU extension to C++20. The conditional
test may be reduced to "__cplusplus > 202011L" once GCC has a c++2b switch.
Add contains member function to basic_string_view and basic_string.
The new method is enabled for -std=gnu++20, gnu++2b and c++2b. This allows
users to access the method as a GNU extension to C++20. The conditional
test may be reduced to "__cplusplus > 202011L" once GCC has a c++2b switch.
See "[PATCH v2] c++: Add support for -std=c++2b" for fixes.
On Fri, Jan 8, 2021 at 3:16 PM Marek Polacek wrote:
>
> I think we should consider making this -std=c++23 right away this time,
> since we're on a three-year release schedule. Up to Jason though.
>
> Marek
>
[PATCH v2] c++: Add support for -std=c++2b
Derived from the changes that added C++2a support in 2017.
https://gcc.gnu.org/g:026a79f70cf33f836ea5275eda72d4870a3041e5
No C++2b features are added here.
Use of -std=c++2b sets __cplusplus to 202100L.
$ g++ -std=c++2b -dM -E -x c++ - < /dev/null |
Derived from the changes that added C++2a support in 2017.
https://gcc.gnu.org/g:026a79f70cf33f836ea5275eda72d4870a3041e5
No C++2b features are added here.
Use of -std=c++2b sets __cplusplus to 202101L.
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5541e694bb3..3a0d452b62b 100644
---