-
Notifications
You must be signed in to change notification settings - Fork 753
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
[complex.numbers.general] Is the effect of instantiating complex<NonFP>
unspecified even if the specialization is program-defined?
#7270
Comments
Using a program-defined specialization does not "instantiate the template" definition I'm not seeing anything editorial here. |
Thanks. Should we clarify that [complex.numbers.general]/2 is restricted to the primary template of |
It says "the template", not "a template named |
I think the difference is somehow obscure if we just say "the template |
That seems reasonable to me. |
[complex.numbers.general]/2 currently states:
Does this only cover the primary template, or even cover program-defined specializations? If the intent was the latter, I don't know how can this be correct due to the core language rules.
However, free functions in
<complex>
are unlikely to work for program-definedcomplex
specializations, which is a possible cause the current specification.The text was updated successfully, but these errors were encountered: