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
[meta.type.synop] (and other) Repetitive 'inline constexpr'? #4601
Comments
The [dcl.constexpr] text you've quoted only refers to functions and static data members. It doesn't apply to variable templates at namespace scope. Without the |
We fixed that in CWG2387, but it came too late for most of the |
Oh good, I didn't think that had actually got fixed yet. So the |
As can be seen in [meta.type.synop], there is constant use of
inline constexpr
. This is likely not limited just to this area of the text.Example:
draft/source/utilities.tex
Lines 16155 to 16160 in 51c8df6
I had previously believed
constexpr
is implicitlyinline
for static data members, as specified in [dcl.constexpr]:draft/source/declarations.tex
Lines 709 to 711 in 87ac40a
Is
inline constexpr
used for clarity of the text?I'll assume that this is not a mistake, so please let me know the reasoning. Alternatively, if it's not useful to have
inline constexpr
here, I can remove it and submit a pull request.Thanks for your time!
The text was updated successfully, but these errors were encountered: