From 42f1e9df9f1e6b7ab7e8f66ae580566fc28dd8c5 Mon Sep 17 00:00:00 2001 From: Krystian Stasiowski Date: Sat, 11 May 2019 14:03:39 -0400 Subject: [PATCH] [basic.life] p5 Fixed destructor calls not ending lifetime of objects with trivial destructors --- source/basic.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/basic.tex b/source/basic.tex index 000af9f393..39a27bd531 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -3126,8 +3126,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 with a non-trivial destructor. For an object of a -class type with a non-trivial destructor, the program is not required to +object of a class type. For an object of a class type with a +non-trivial destructor, 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 the destructor or if a \grammarterm{delete-expression}\iref{expr.delete}