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
[dcl.fct] Overbroad grammar for parameter-declaration CWG2537 #4521
Comments
In the past the |
I'd welcome at least a bit of CWG consensus. Is this something you could look at during a telecon? I wouldn't want to make such a change without any oversight, but if CWG says OK then we don't need to create an issue. |
Editorial meeting 2021-04-16: This is not editorial. |
@tkoeppe to email CWG. |
See cplusplus/CWG#7 |
Created CWG2537 |
It should have a defining-type-specifier-seq instead of a decl-specifier-seq, since no other decl-specifier (a storage-class-specifier, a function-specifier,
friend
,typedef
,constexpr
,consteval
,constinit
, orinline
) can be used there (unless we expect to get constexpr function parameters any day now!).The text was updated successfully, but these errors were encountered: