Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/declarations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -5529,7 +5529,7 @@
or by an inherited constructor\iref{class.inhctor.init}.
\end{note}
Destroying an object of class type invokes the destructor of the class.
Destroying a scalar type has no effect other than
Destroying an object of scalar type has no effect other than
ending the lifetime of the object\iref{basic.life}.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jensmaurer, thanks for the review! My PR (commit 2dd3f2e) already changes the wording to match the preceding sentence: 'Destroying an object of scalar type has no effect other than ending the lifetime of the object.'

Please let me know if you'd like a different phrasing or if I should make any other adjustments. Happy to address any further feedback.

Destroying an array destroys each element in reverse subscript order.

Expand Down