Title
init-captures in nested lambdas
Status
nad
Section
7.5.6.3 [expr.prim.lambda.capture]
Submitter
Faisal Vali

Created on 2013-08-30.00:00:00 last changed 109 months ago

Messages

Date: 2015-11-10.00:00:00

According to 7.6.1.2 [expr.sub] paragraph 11,

No entity is captured by an init-capture.

It should be made clearer that a variable, odr-used by an init-capture in a nested lambda, is still captured by the containing lambda as a result of the init-capture.

Rationale (October, 2015):

Subsequent edits have removed the offending phraseXS.

History
Date User Action Args
2015-11-10 00:00:00adminsetstatus: review -> nad
2015-05-25 00:00:00adminsetstatus: open -> review
2013-08-30 00:00:00admincreate