Created on2019-02-07.00:00:00 last changed62 months ago
Proposed resolution (October, 2019):
Change 6.10 [basic.exec] bullet 5.5 as follows:
Afull-expression is
...
an invocation of a destructor generated at the end of thelifetime of an object other than a temporary object(6.8.7 [class.temporary])whose lifetime has not beenextended, or
...
[Adopted as a DR at the November, 2019 meeting.]
According to 6.10 [basic.exec] paragraph 5,
Afull-expression is
...
an invocation of a destructor generated at the end ofthe lifetime of an object other than a temporary object(6.8.7 [class.temporary]), or
...
This definition excludes the destruction of temporariesthat are bound to references from being treated asfull-expressions. It is not clear whether this omission hasobservable effects or not. Seeeditorial issue 2664.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-12-15 00:00:00 | admin | set | messages: +msg6433 |
| 2019-02-07 00:00:00 | admin | create | |