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

[mdspan.extents.cons] "constexpr" should precede "explicit" #5947

Merged
merged 1 commit into from Nov 12, 2022

Conversation

CaseyCarter
Copy link
Contributor

In library function declarations, the constexpr specifier always precedes the explicit specifier per our standing style guide.

In library function declarations, the `constexpr` specifier always precedes the `explicit` specifier per our standing style guide.
@CaseyCarter
Copy link
Contributor Author

It's correct in the class body, but not in the itemdecl.

@JohelEGP
Copy link
Contributor

What prevented the check script from noticing this?

@tkoeppe tkoeppe merged commit 0cd0c33 into cplusplus:main Nov 12, 2022
@CaseyCarter CaseyCarter deleted the explicit-constexpr branch November 12, 2022 05:20
@CaseyCarter
Copy link
Contributor Author

What prevented the check script from noticing this?

The fact that the script doesn't check for this, which I've attempted to remedy with #5948.

@JohelEGP
Copy link
Contributor

Oh, I thought there already was such a check in place. Probably because Clang Format already does this.

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