Skip to content

Commit f56239c

Browse files
committed
[expr.const] adjust note
Array bounds now use "converted constant expressions of type std::size_t", not integral constant expressions.
1 parent 9c123b4 commit f56239c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/expressions.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4849,8 +4849,7 @@
48494849
unscoped enumeration type, implicitly converted to a prvalue, where the converted expression is a core constant expression.
48504850
\enternote
48514851
Such expressions may be
4852-
used as array bounds~(\ref{dcl.array}, \ref{expr.new}),
4853-
as bit-field lengths~(\ref{class.bit}), as enumerator
4852+
used as bit-field lengths~(\ref{class.bit}), as enumerator
48544853
initializers if the underlying type is not fixed~(\ref{dcl.enum}),
48554854
and as alignments~(\ref{dcl.align}).
48564855
\exitnote

0 commit comments

Comments
 (0)