This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-11-11
[Voted into WP at March, 2010 meeting.]
At least in the new wording for 7.5.6 [expr.prim.lambda] paragraph 10 as found in paper N2927, this is explicitly assumed to be an entity. It should be investigated whether this should be added to the list of entities found in 6.1 [basic.pre] paragraph 3.
Proposed resolution (October, 2009):
Change 6.1 [basic.pre] paragraph 3 as follows:
An entity is a value, object, variable, reference, function, enumerator, type, class member, template, template specialization, namespace,orparameter pack, or this.
Change 6.3 [basic.def.odr] paragraph 2 as follows:
...is immediately applied. this is used if it appears as a potentially-evaluated expression (including as the result of the implicit transformation in the body of a non-static member function (11.4.3 [class.mfct.non.static])). A virtual member function...
Delete 7.5.6 [expr.prim.lambda] paragraph 7:
For the purpose of describing the behavior of lambda-expressions below, this is considered to be “used” if replacing this by an invented variable v with automatic storage duration and the same type as this would result in v being used (6.3 [basic.def.odr]).