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

[defns.undefined] Constant expressions can have "library UB" #1885

Merged
merged 1 commit into from Feb 12, 2018

Conversation

geoffromer
Copy link
Contributor

No description provided.

@jwakely
Copy link
Member

jwakely commented Dec 11, 2017

This looks good to me. I think it qualifies as editorial; it's the intended meaning of that wording, and without this change the standard is internally inconsistent because it's not actually possible to diagnose many types of "library UB" that arise from violating Requires: preconditions.

@jensmaurer
Copy link
Member

[expr.const] p2.6 already limits the undefined behavior rule to the core language sections of the standard, so this seems editorial to me.

@jensmaurer jensmaurer changed the title Constant expressions can have "library UB" [defns.undefined] Constant expressions can have "library UB" Dec 11, 2017
@jensmaurer jensmaurer added this to the C++20 milestone Dec 11, 2017
@zygoloid zygoloid merged commit c4b8bd4 into cplusplus:master Feb 12, 2018
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

4 participants