Skip to content

Commit

Permalink
[basic.stc.dynamic] Fix definition/explanation of dynamic storage dur…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
Eisenwave committed Oct 20, 2024
1 parent a470ff8 commit 78f2a9c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3989,15 +3989,18 @@
\rSec3[basic.stc.dynamic]{Dynamic storage duration}%

\rSec4[basic.stc.dynamic.general]{General}%
\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
Expand Down

0 comments on commit 78f2a9c

Please sign in to comment.