Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[basic.stc.dynamic.general] Fix definition/explanation of dynamic storage duration #7330

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
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|(}
Eisenwave marked this conversation as resolved.
Show resolved Hide resolved

\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
Loading