Skip to content

Commit 61e6b52

Browse files
burblebeetkoeppe
authored andcommitted
CWG2729 Meaning of new-type-id
1 parent f51996e commit 61e6b52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2272,7 +2272,7 @@
22722272
\tcode{typeid},
22732273
the name of a type shall be specified.
22742274
This can be done with a
2275-
\grammarterm{type-id},
2275+
\grammarterm{type-id} or \grammarterm{new-type-id}\iref{expr.new},
22762276
which is syntactically a declaration for a variable or function
22772277
of that type that omits the name of the entity.
22782278

source/expressions.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5080,7 +5080,7 @@
50805080
\indextext{storage management|see{\tcode{delete}}}%
50815081
\indextext{\idxcode{new}}%
50825082
The \grammarterm{new-expression} attempts to create an object of the
5083-
\grammarterm{type-id}\iref{dcl.name} or \grammarterm{new-type-id} to which
5083+
\grammarterm{type-id} or \grammarterm{new-type-id}\iref{dcl.name} to which
50845084
it is applied. The type of that object is the \defnadj{allocated}{type}.
50855085
\indextext{type!incomplete}%
50865086
This type shall be a complete object type\iref{term.incomplete.type},

0 commit comments

Comments
 (0)