Skip to content

Commit 2dd3f2e

Browse files
committed
Fix: add missing 'object' in [dcl.init.general]/21
In section [dcl.init.general]/21, the phrase 'Destroying a scalar type has no effect' was missing the word 'object', making it grammatically incomplete. The sentence should read 'Destroying a scalar type object has no effect other than ending the lifetime of the object'. Issue: #9346
1 parent e908596 commit 2dd3f2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎source/declarations.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5529,7 +5529,7 @@
55295529
or by an inherited constructor\iref{class.inhctor.init}.
55305530
\end{note}
55315531
Destroying an object of class type invokes the destructor of the class.
5532-
Destroying a scalar type has no effect other than
5532+
Destroying a scalar type object has no effect other than
55335533
ending the lifetime of the object\iref{basic.life}.
55345534
Destroying an array destroys each element in reverse subscript order.
55355535

0 commit comments

Comments
 (0)