Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P0732R2 Add __cpp_nontype_template_parameter_class #6827

Closed
wants to merge 1 commit into from

Conversation

Eisenwave
Copy link
Contributor

See cplusplus/CWG#508 for discussion.

[P0732R2] proposed to add a __cpp_nontype_template_parameter_class predefined macro, and this has been accepted into C++20.

According to @jensmaurer, it's an editorial oversight that it wasn't added to the working draft.

@Eisenwave Eisenwave changed the title P0732R2 Add __cpp_nontype_template_parameter_class P0732R2 Add __cpp_nontype_template_parameter_class Feb 28, 2024
@cpplearner
Copy link
Contributor

cpplearner commented Feb 28, 2024

https://wg21.link/sd6 indicates that this macro was removed when P1907R1 was adopted. Instead, __cpp_nontype_template_args was bumped for P1907R1.

This is also mentioned in N4843:

The following feature test macro changes were made for this paper, after consultation with SG10:

The feature test macro __cpp_nontype_template_parameter_class has been removed to indicate that the feature added by P0732R2 is no longer present in the same form.

The value of the feature test macro __cpp_nontype_template_args has been increased to 201911L to indicate support for P1907R1.

@Eisenwave Eisenwave closed this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants