https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117382
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Tilir from comment #0)
> [expr.static.cast] / 10
>
> If the enumeration type does not have a fixed underlying type,
A scoped enumeration type (i.e. "enum class) always has a fixed underlying
type, and all values of the underlying type are valid values of the enum.