cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

US 13-042 7.5.5.3p6 [expr.prim.lambda.capture] Local variable vs. init-capture #484

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

The example says "local variable".

Proposed change:

Use "init-capture" instead.

jensmaurer commented 1 year ago

CWG2644

jensmaurer commented 1 year ago

Accepted with Modifications. The use of "local variable" is intentional here; the wording was changed to emphasize that this is the notional variable introduced by the init-capture.