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

"explicit constexpr" vs. "constexpr explicit" #119

Closed
jwakely opened this issue May 12, 2013 · 2 comments
Closed

"explicit constexpr" vs. "constexpr explicit" #119

jwakely opened this issue May 12, 2013 · 2 comments

Comments

@jwakely
Copy link
Member

jwakely commented May 12, 2013

The library is inconsistent about the order of the explicit and constexpr specifiers on constructors.

It might be better to pick one order and stick with it.

@zygoloid
Copy link
Member

zygoloid commented Sep 8, 2014

My preference: constexpr should go first; explicit is more closely associated with the function name, whereas constexpr applies to the function as a whole.

@FrankHB
Copy link
Contributor

FrankHB commented Feb 4, 2016

What about "EXPLICIT constexpr"?

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

No branches or pull requests

3 participants