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 Mar 7, 2020
1 parent df2f327 commit b4f66cf
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 @@ -3449,8 +3449,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 b4f66cf

Please sign in to comment.