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

P0305R1 Selection statements with initializer #776

Closed

Conversation

tkoeppe
Copy link
Contributor

@tkoeppe tkoeppe commented Jun 28, 2016

Apply CWG Motion 18: P0305R1, "Selection statements with initializer".

Editorially moves the grammar production condition up to the top of Clause 6, along with the moved init-statement.

Do not merge until CWG Motion 12 (P0292R2, "if constexpr") has been applied, since the present application will need to be rebased first.

@zygoloid
Copy link
Member

Can you move the changes to condition into a separate commit, please? I'd prefer to have separate commits for the change-as-moved and substantive editoral rework.

As part of moving condition, we should also move the text describing its semantics, which currently reside in [stmt.select], into [stmt.stmt].

@tkoeppe tkoeppe force-pushed the motions-2016-06-cwg-18-P0305R1 branch from 6c71fd0 to 642d61a Compare June 28, 2016 21:27
@tkoeppe
Copy link
Contributor Author

tkoeppe commented Jun 28, 2016

@zygoloid: OK, I've done that, but now the description of condition makes a lot of references to things that haven't yet been described. Do you think that's OK?

@tkoeppe tkoeppe closed this Jun 28, 2016
@tkoeppe tkoeppe deleted the motions-2016-06-cwg-18-P0305R1 branch June 29, 2016 23:40
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

2 participants