coding
[EMCpp]Item-10 Prefer Scoped enums to Unscopded enums
· β˜• 4 min read

Enumerators of scoped enums are visible only within the enum, convert to other types only with a cast, and always support forward-declared because their default underlying type is int.