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

[range.as.rvalue.view] Fix curly brace format #5748

Merged
merged 3 commits into from Aug 20, 2022

Conversation

hewillk
Copy link
Contributor

@hewillk hewillk commented Aug 19, 2022

Should this be detected?

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 19, 2022

Before we do all these one by one, could you maybe have a look at the clause as a whole to see if there are other style violations like this?

Should this be detected?

Can you describe such a check in a way we can run in the check script?

@hewillk
Copy link
Contributor Author

hewillk commented Aug 19, 2022

OK, I'll check them one by one.

Can you describe such a check in a way we can run in the check script?

This might take some thought.

@hewillk
Copy link
Contributor Author

hewillk commented Aug 20, 2022

Also fixed inconsistent constraint ordering with synopsis.

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 20, 2022

@brevzin Could you please take a look?

@brevzin
Copy link
Contributor

brevzin commented Aug 20, 2022

So this swaps the two constraints to be consistent with the synopsis (oops) and moves the open brace to the start of the previous line? Looks good.

@tkoeppe
Copy link
Contributor

tkoeppe commented Aug 20, 2022

@brevzin Great, thanks! Yes, I wanted to check that that was indeed an error in the paper, and that this fix is correct.

@tkoeppe tkoeppe merged commit 2f228c5 into cplusplus:main Aug 20, 2022
@hewillk hewillk deleted the main-as-rvalue branch August 20, 2022 23:41
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

3 participants