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

Use __cpp_nontype_template_args instead of __cpp_nontype_template_parameter_class #15

Closed
paul082 opened this issue Jan 13, 2021 · 1 comment

Comments

@paul082
Copy link

paul082 commented Jan 13, 2021

Appears only GCC defines __cpp_nontype_template_parameter_class.

Also Cppreference makes no mention of a __cpp_nontype_template_parameter_class macro. https://en.cppreference.com/w/cpp/feature_test

@foonathan
Copy link
Owner

It's a bit confusing, thanks for catching it. https://wg21.link/SD6 lists both as feature check macros, although I believe the feature from __cpp_nontype_template_parameter_class is no longer part of C++20. Anyways, I'll just check for both.

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

No branches or pull requests

2 participants