Closed jensmaurer closed 9 months ago
The comment is wrong; we mean the function type of the synthesized function call operator (template).
There is no consensus for a change. Any attributes of a lambda-declarator are considered to be attached to the synthesized function call operator or operator template (i.e. the member function of the closure type), not the closure type itself.
Noted.
“the type of the corresponding function call operator or operator template” sounds like a function type. It would be better to use “the closure type”.
In "An attribute-specifier-seq in a lambda-declarator appertains to the type of the corresponding function call operator or operator template.", replace "function call operator or operator template" with "closure type"