You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description: It is extremely counterintuitive that a generic lambda doesn't have its own template parameter scope. This should be explicitly called out.
Suggested resolution: Add a note at the end of [basic.scope.temp]/2:
[Note: The optional template-parameter-list of a lambda-expression does not introduce a template parameter scope. — end note]
The description of [CWG2838] should also be amended; it currently claims that there is a template parameter scope there.
The text was updated successfully, but these errors were encountered:
jensmaurer
changed the title
[basic.scope.temp] Add a note that a lambda doesn't have a template parameter scope
CWG2965 [basic.scope.temp] Add a note that a lambda doesn't have a template parameter scope
Dec 6, 2024
Full name of submitter: Brian Bi
Issue description: It is extremely counterintuitive that a generic lambda doesn't have its own template parameter scope. This should be explicitly called out.
Suggested resolution: Add a note at the end of [basic.scope.temp]/2:
The description of [CWG2838] should also be amended; it currently claims that there is a template parameter scope there.
The text was updated successfully, but these errors were encountered: