Skip to content

Commit

Permalink
[basic.stc.dynamic.general] Fix definition/explanation of dynamic sto…
Browse files Browse the repository at this point in the history
…rage duration
  • Loading branch information
Eisenwave committed Oct 20, 2024
1 parent a470ff8 commit b764786
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions source/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b764786

Please sign in to comment.