Skip to content

Commit a0b29d4

Browse files
committed
Merge pull request #600 from timsong-cpp/patch-2
[expr.const] Adjust note now that array bounds are converted constant expressions of type std::size_t, not integral constant expressions.
2 parents 14062f4 + f56239c commit a0b29d4

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)