File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 4521
4521
\grammarterm {noptr-new-declarator} shall be a converted constant
4522
4522
expression\iref {expr.const } of type \tcode {std::size_t} and
4523
4523
shall evaluate to a strictly positive value.
4524
- \indextext {\idxcode {new}}%
4525
- If the \grammarterm {expression} in a \grammarterm {noptr-new-declarator}
4526
- is present, it is implicitly converted to \tcode {std::size_t}.
4527
4524
\begin {example }
4528
4525
Given the definition \tcode {int n = 42},
4529
4526
\tcode {new float[n][5]} is well-formed (because \tcode {n} is the
4542
4539
the \grammarterm {new-initializer}~(\ref {dcl.init.aggr }, \ref {dcl.init.string }).
4543
4540
4544
4541
\pnum
4542
+ \indextext {\idxcode {new}}%
4543
+ If the \grammarterm {expression} in a \grammarterm {noptr-new-declarator}
4544
+ is present, it is implicitly converted to \tcode {std::size_t}.
4545
4545
\indextext {function!allocation}%
4546
- The \grammarterm {expression} in a \grammarterm {noptr-new-declarator} is
4547
- erroneous if:
4546
+ The \grammarterm {expression} is erroneous if:
4548
4547
4549
4548
\begin {itemize }
4550
4549
\item
You can’t perform that action at this time.
0 commit comments