Initializer List
enum Class
enum class
es - enumerator names are local to the enum and their values do not implicitly convert to other types (like anotherenum
orint
)- Plain
enum
s - where enumerator names are in the same scope as the enum and their values implicitly convert to integers and other types