From 7a82cb990732fedc52bd18476cfffa271425818d Mon Sep 17 00:00:00 2001 From: "A. Jiang" Date: Tue, 24 Mar 2026 09:24:59 +0800 Subject: [PATCH] [expr.static.cast] Use "values of the enumeration" In [dcl.enum], we introduce "the values of the enumeration" but not "the range of the enumeration values". It's probably better to use the exactly introduced phrase. --- source/expressions.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/expressions.tex b/source/expressions.tex index d91fac60e0..29d48878ca 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -4961,8 +4961,8 @@ then to the enumeration type. If the enumeration type does not have a fixed underlying type, the value is unchanged -if the original value is within the range -of the enumeration values\iref{dcl.enum}, and +if the original value is one of +the values of the enumeration\iref{dcl.enum}, and otherwise, the behavior is undefined\ubdef{expr.static.cast.enum.outside.range}. A value of floating-point type can also be explicitly converted to an enumeration type. The resulting value is the same as converting the original value to the