You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A program may end the lifetime of any object by reusing the storage which the object occupies or by explicitly calling the destructor for an object of a class type with a non-trivial destructor.
even though the requirement about non-triviality of a destructor was removed from [basic.life]/1 during CWG2256 resolution and now it says that
The lifetime of an object o of type T ends when:
— if T is a non-class type, the object is destroyed, or
— if T is a class type, the destructor call starts, or
The text was updated successfully, but these errors were encountered:
CWG2051 is still in "drafting"; you're talking about CWG 2256.
jensmaurer
changed the title
[basic.life]/5 was overlooked during CWG2051 resolution?
[basic.life]/5 was overlooked during CWG2256 resolution?
Jul 4, 2019
[basic.life]/5 still says that
even though the requirement about non-triviality of a destructor was removed from [basic.life]/1 during CWG2256 resolution and now it says that
The text was updated successfully, but these errors were encountered: