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

[structure.specification] p3 add note for "Mandates" item #2382

Open
jensmaurer opened this issue Nov 6, 2018 · 2 comments · May be fixed by #2537
Open

[structure.specification] p3 add note for "Mandates" item #2382

jensmaurer opened this issue Nov 6, 2018 · 2 comments · May be fixed by #2537
Assignees
Labels
lwg Issue must be reviewed by LWG.

Comments

@jensmaurer
Copy link
Member

Saying that it is expressly unspecified whether the "ill-formedness" is in the immediate context or not, i.e. is SFINAE-able or not.

@jensmaurer jensmaurer self-assigned this Nov 27, 2018
@jensmaurer jensmaurer added the lwg Issue must be reviewed by LWG. label Jan 27, 2019
@jensmaurer
Copy link
Member Author

Sent e-mail to LWG reflector.

@jensmaurer
Copy link
Member Author

jensmaurer commented Mar 1, 2019

LWG clarified in its 2019-03-01 teleconference that "Mandates" just means there is a required diagnostic for violating the rule. In some cases, this can also be achieved by SFINAE yielding an empty overload set, for example. Error messages are often better with static_assert, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lwg Issue must be reviewed by LWG.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant