Created on 2020-02-14.00:00:00 last changed 48 months ago
Rationale (July, 2020):
No change is needed. The restriction applies to functions, and the lambda's operator() is a function.
According to 9.2.9.7.1 [dcl.spec.auto.general] paragraph 15,
A function declared with a return type that uses a placeholder type shall not be a coroutine (9.5.4 [dcl.fct.def.coroutine]).
This should also apply to coroutine lambdas.
History | |||
---|---|---|---|
Date | User | Action | Args |
2020-12-15 00:00:00 | admin | set | messages: + msg6299 |
2020-02-14 00:00:00 | admin | create |