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 4547
4547
\grammarterm {noptr-new-declarator} shall be a converted constant
4548
4548
expression\iref {expr.const } of type \tcode {std::size_t} and
4549
4549
shall evaluate to a strictly positive value.
4550
- \indextext {\idxcode {new}}%
4551
- If the \grammarterm {expression} in a \grammarterm {noptr-new-declarator}
4552
- is present, it is implicitly converted to \tcode {std::size_t}.
4553
4550
\begin {example }
4554
4551
Given the definition \tcode {int n = 42},
4555
4552
\tcode {new float[n][5]} is well-formed (because \tcode {n} is the
4568
4565
the \grammarterm {new-initializer}~(\ref {dcl.init.aggr }, \ref {dcl.init.string }).
4569
4566
4570
4567
\pnum
4568
+ \indextext {\idxcode {new}}%
4569
+ If the \grammarterm {expression} in a \grammarterm {noptr-new-declarator}
4570
+ is present, it is implicitly converted to \tcode {std::size_t}.
4571
4571
\indextext {function!allocation}%
4572
- The \grammarterm {expression} in a \grammarterm {noptr-new-declarator} is
4573
- erroneous if:
4572
+ The \grammarterm {expression} is erroneous if:
4574
4573
4575
4574
\begin {itemize }
4576
4575
\item
You can’t perform that action at this time.
0 commit comments