Is this an entity?
Clause [6] [basic]

Created on 2009-07-14.00:00:00 last changed 144 months ago


Date: 2010-03-15.00:00:00

[Voted into WP at March, 2010 meeting.]

Date: 2009-10-15.00:00:00

Proposed resolution (October, 2009):

  1. Change Clause 6 [basic] paragraph 3 as follows:

  2. An entity is a value, object, variable, reference, function, enumerator, type, class member, template, template specialization, namespace, or parameter pack, or this.
  3. Change 6.3 [basic.def.odr] paragraph 2 as follows:

  4. ...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...
  5. Delete 7.5.5 [expr.prim.lambda] paragraph 7:

  6. 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]).
Date: 2020-12-15.00:00:00

At least in the new wording for 7.5.5 [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 Clause 6 [basic] paragraph 3.

Date User Action Args
2010-03-29 00:00:00adminsetmessages: + msg2656
2010-03-29 00:00:00adminsetstatus: ready -> cd2
2009-11-08 00:00:00adminsetmessages: + msg2337
2009-11-08 00:00:00adminsetstatus: open -> ready
2009-07-14 00:00:00admincreate