From b7647861650b5d47f28df970c1a6cadad6a82d2d Mon Sep 17 00:00:00 2001 From: Eisenwave Date: Sun, 20 Oct 2024 19:27:47 +0200 Subject: [PATCH] [basic.stc.dynamic.general] Fix definition/explanation of dynamic storage duration --- source/basic.tex | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/source/basic.tex b/source/basic.tex index 9524265f81..e4f8e58e71 100644 --- a/source/basic.tex +++ b/source/basic.tex @@ -3992,12 +3992,16 @@ \indextext{storage duration!dynamic|(} \pnum -Objects can be created dynamically during program -execution\iref{intro.execution}, using +Objects created using \indextext{\idxcode{new}}% -\grammarterm{new-expression}{s}\iref{expr.new}, and destroyed using +\grammarterm{new-expression}{s}\iref{expr.new} +and implicitly created objects\iref{intro.object} +have \defnadj{dynamic}{storage duration}. +Objects created using \grammarterm{new-expression}{s} +may be destroyed using \indextext{\idxcode{delete}}% -\grammarterm{delete-expression}{s}\iref{expr.delete}. A \Cpp{} implementation +\grammarterm{delete-expression}{s}. +A \Cpp{} implementation provides access to, and management of, dynamic storage via the global \defnx{allocation functions}{allocation function} \tcode{\keyword{operator} \keyword{new}} and