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

[expr.const] Missing indefinite article in CWG2558 resolution #6112

Closed
zygoloid opened this issue Feb 13, 2023 · 0 comments · Fixed by #6118
Closed

[expr.const] Missing indefinite article in CWG2558 resolution #6112

zygoloid opened this issue Feb 13, 2023 · 0 comments · Fixed by #6118

Comments

@zygoloid
Copy link
Member

The resolution of CWG2558 adds:

if the value is an object of scalar type, it does not have indeterminate value (6.7.4 [basic.indet]),

but this should be:

if the value is an object of scalar type, it does not have an indeterminate value (6.7.4 [basic.indet]),

because in C++ (unlike in C) an indeterminate value is a particular kind of value, rather than "has indeterminate value" being a property of an object / region of storage. See [basic.indet]p1.

@zygoloid zygoloid changed the title Missing indefinite article in CWG2558 resolution [expr.const] Missing indefinite article in CWG2558 resolution Feb 13, 2023
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 a pull request may close this issue.

1 participant