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
[expr.prim.lambda] Avoid decl-specifier-seq in lambda-declarator CWG2509 #2338
Conversation
We need something that says each lambda-specifier can only appear at most once in a complete lambda-specifier-seq. |
@timsong-cpp: Right, fixed. |
CWG in San Diego: This will become a core issue. https://wiki.edg.com/bin/view/Wg21sandiego2018/CoreWorkingGroup#Editorial_issue_2338_expr_prim_l |
This now also needs something that disallows having both |
Using a decl-specifier-seq pulls in a lot of undesirable connotations, plus the following text only refers to individual decl-specifiers (by name), never to the entire decl-specifier-seq. Therefore, introduce a new grammar non-terminal 'lambda-specifier-seq'.
Pinged Mike Miller to create a core issue, as per San Diego CWG consensus. |
CWG telecon 2021-12-09: Moved CWG2509 to Ready. |
Using a decl-specifier-seq pulls in a lot of undesirable
connotations, plus the following text only refers to
individual decl-specifiers (by name), never to the entire
decl-specifier-seq.
Therefore, introduce a new grammar non-terminal
'lambda-specifier-seq'.
Fixes #2333.