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

GB 4 (014): 6.2.4/2.3: Order of evaluation in WeaklyIncrementable #353

Closed
CaseyCarter opened this issue Feb 28, 2017 · 2 comments
Closed

Comments

@CaseyCarter
Copy link
Collaborator

CaseyCarter commented Feb 28, 2017

Technical Comment

Unspecified evaluation order for concept WeaklyIncrementable:

— If i is incrementable, then &++i == &i.

However the C++ standard makes no guarantees about the evaluation order of the expressions in ==.
(This also affects 6.2.12 p3.1)

Proposed Resolution

Replace the C++ syntax == with "is equal to"

@CaseyCarter CaseyCarter changed the title GB 4: Order of evaluation in WeaklyIncrementable GB 4 (014): 6.2.4/2.3: Order of evaluation in WeaklyIncrementable Mar 1, 2017
@CaseyCarter
Copy link
Collaborator Author

2017-03-01 LEWG triage: LWG.

ericniebler pushed a commit that referenced this issue Mar 10, 2017
Patches GB 4
@CaseyCarter
Copy link
Collaborator Author

Closed editorially by f191094.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant