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

spacing of ref-qualifiers #5312

Merged
merged 2 commits into from Feb 24, 2022
Merged

spacing of ref-qualifiers #5312

merged 2 commits into from Feb 24, 2022

Conversation

jensmaurer
Copy link
Member

Fixes #5308

@jensmaurer
Copy link
Member Author

@tkoeppe, here you are

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 22, 2022

Beautiful, thank you!

@@ -965,7 +965,7 @@
void h(this X&, int);
void h(int) &&; // OK, another overload
void j(this const X&);
void j() const&; // error: redeclaration
void j() const &; // error: redeclaration
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only occurrence in core wording (in an example). Why not check only the library sources?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure. Done.

@jensmaurer
Copy link
Member Author

@tkoeppe, want to merge this?

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 22, 2022

Yes, I was waiting for tests. And for the outcome of Johel's discussion.

@tkoeppe tkoeppe merged commit a5f7f11 into cplusplus:main Feb 24, 2022
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.

How to space ref qualifiers
3 participants