From 24ca6afc19074128c596e5f20d1ff8fd5b00e69e 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 d113667e6d..14949e746d 100644 --- a/source/expressions.tex +++ b/source/expressions.tex @@ -4815,8 +4815,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. 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