Re: [committed] libstdc++: Add std::is_scoped_enum for C++23

2021-04-08 Thread Jonathan Wakely via Gcc-patches
On 20/03/21 09:18 -0500, Tim Song wrote: On Sat, Mar 20, 2021 at 3:58 AM Jonathan Wakely wrote: On Sat, 20 Mar 2021, 01:13 Tim Song via Libstdc++, wrote: On Fri, Mar 19, 2021 at 3:13 PM Jonathan Wakely via Libstdc++ wrote: > > Implement this C++23 feature, as proposed by P1048R1. > > Th

Re: [committed] libstdc++: Add std::is_scoped_enum for C++23

2021-03-20 Thread Tim Song via Gcc-patches
On Sat, Mar 20, 2021 at 3:58 AM Jonathan Wakely wrote: > > > > On Sat, 20 Mar 2021, 01:13 Tim Song via Libstdc++, > wrote: >> >> On Fri, Mar 19, 2021 at 3:13 PM Jonathan Wakely via Libstdc++ >> wrote: >> > >> > Implement this C++23 feature, as proposed by P1048R1. >> > >> > This implementation

Re: [committed] libstdc++: Add std::is_scoped_enum for C++23

2021-03-20 Thread Jonathan Wakely via Gcc-patches
On Sat, 20 Mar 2021, 01:13 Tim Song via Libstdc++, wrote: > On Fri, Mar 19, 2021 at 3:13 PM Jonathan Wakely via Libstdc++ > wrote: > > > > Implement this C++23 feature, as proposed by P1048R1. > > > > This implementation assumes that a C++23 compiler supports concepts > > already. I don't see an

Re: [committed] libstdc++: Add std::is_scoped_enum for C++23

2021-03-19 Thread Tim Song via Gcc-patches
On Fri, Mar 19, 2021 at 3:13 PM Jonathan Wakely via Libstdc++ wrote: > > Implement this C++23 feature, as proposed by P1048R1. > > This implementation assumes that a C++23 compiler supports concepts > already. I don't see any point in using preprocessor hacks to detect > compilers which define __c

[committed] libstdc++: Add std::is_scoped_enum for C++23

2021-03-19 Thread Jonathan Wakely via Gcc-patches
Implement this C++23 feature, as proposed by P1048R1. This implementation assumes that a C++23 compiler supports concepts already. I don't see any point in using preprocessor hacks to detect compilers which define __cplusplus to a post-C++20 value but don't support concepts yet. libstdc++-v3/Chan