Skip to content

Commit 2f6aff7

Browse files
committed
[basic.stc] Fix introductory sentence on dynamic storage duration to
match later more-normative rule: it applies to objects, not storage. Fixes NB JP 3 (C++17 CD).
1 parent 663bffa commit 2f6aff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/basic.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2819,8 +2819,8 @@
28192819
Static, thread, and automatic storage durations are associated with objects
28202820
introduced by declarations~(\ref{basic.def}) and implicitly created by
28212821
the implementation~(\ref{class.temporary}). The dynamic storage duration
2822-
is associated with objects created with \tcode{operator}
2823-
\tcode{new}~(\ref{expr.new}).
2822+
is associated with objects created by a
2823+
\grammarterm{new-expression}~(\ref{expr.new}).
28242824

28252825
\pnum
28262826
The storage duration categories apply to references as well.

0 commit comments

Comments
 (0)