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

[over.call.func] Example 1 - Fix misleading indentation #6392

Merged
merged 1 commit into from Jul 23, 2023

Conversation

Eisenwave
Copy link
Contributor

grafik

The example is currently formatted as if c and d were free functions, not member functions of the surrounding struct.

Furthermore, the PR adds one space in c()& -> c() &. It is highly unusual to not separate cv-qualifiers or ref-qualifiers from the parameter list, and is a style that goes against almost every reference page. The example later uses () const, suggesting that this is merely a typo from the author, and not their preferred style.

@tkoeppe tkoeppe merged commit 982b323 into cplusplus:main Jul 23, 2023
2 checks passed
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

4 participants