Created on 2009-03-03.00:00:00 last changed 143 months ago
Proposed resolution (July, 2009)
See document PL22.16/09-0117 = WG21 N2927.
Notes from the March, 2009 meeting:
Making the suggested change would be problematic for an implementation in which the “reference members” were actually implemented using offsets from a captured stack pointer and in which nested blocks were pushed onto the stack (to optimize space for large local objects, for example).
7.5.5 [expr.prim.lambda] paragraph 13 ties the effective lifetime of a closure object with members captured by reference to the innermost block scope in which the lambda appears, rather than to the lifetime of the objects to which the references are bound. This seems too restrictive.
|2010-03-29 00:00:00||admin||set||status: wp -> cd2|
|2009-11-08 00:00:00||admin||set||status: dr -> wp|
|2009-08-03 00:00:00||admin||set||status: review -> dr|
|2009-03-23 00:00:00||admin||set||messages: + msg1928|
|2009-03-23 00:00:00||admin||set||messages: + msg1927|