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
If a lambda-expression or an instantiation of the function call operator template of a generic lambda odr-uses (6.2) this or a variable with automatic storage duration from its reaching scope, that entity shall be captured by the lambda-expression.
in [expr.prim.lambda.capture]/8 has been moved to [basic.def.odr]/9 because of P0588R1. So now there is no relevant description in [expr.prim.lambda.capture]/8, which can be confusing.
The text was updated successfully, but these errors were encountered:
The standard is not a tutorial. If we have complicated rules, we shouldn't try to paraphrase them (likely incorrectly) in notes; we should add a cross-reference and that's it.
in [expr.prim.lambda.capture]/8 has been moved to [basic.def.odr]/9 because of P0588R1. So now there is no relevant description in [expr.prim.lambda.capture]/8, which can be confusing.
The text was updated successfully, but these errors were encountered: