Skip to content

Commit

Permalink
[basic.life] Update out-of-date wording to mention that
Browse files Browse the repository at this point in the history
pseudo-destructors end the lifetime of an object.

Fixes #3743.
  • Loading branch information
zygoloid committed Feb 25, 2020
1 parent e8cda79 commit 95c4366
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3265,8 +3265,8 @@

\pnum
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.
which the object occupies or by explicitly calling a destructor
or pseudo-destructor\iref{expr.prim.id.dtor} for the object.
For an object of a class type, the program is not required to
call the destructor explicitly before the storage which the object
occupies is reused or released; however, if there is no explicit call to
Expand Down

0 comments on commit 95c4366

Please sign in to comment.