C++ Logo

sg10

Advanced search

Re: P0732 enhanced non-type template parameters

From: Barry Revzin <barry.revzin_at_[hidden]>
Date: Wed, 28 Feb 2024 10:29:47 -0600
It makes sense to bump, but right now implementations have supported this
for a while (since clang 12 and gcc 9.3) so adding it now would be a
clearer check but would be a false negative for lots of compiler
versions...

Then again clang neither defines __cpp_nontype_template_parameter_class nor
has the updated value of __cpp_nontype_template_args.

So not sure what the right course here is.

On Wed, Feb 28, 2024, 5:40 AM Jens Maurer via SG10 <sg10_at_[hidden]>
wrote:

> Hi,
>
> P0732 Class Types in Non-Type Template Parameters
> made changes to the rules for user-defined literals,
> but didn't bump the corresponding feature-test macro
>
> __cpp_user_defined_literals
>
> Should this be done? Using what process?
>
>
> https://github.com/cplusplus/CWG/issues/508
>
> Jens
> --
> SG10 mailing list
> SG10_at_[hidden]
> https://lists.isocpp.org/mailman/listinfo.cgi/sg10
>

Received on 2024-02-28 16:30:00