EnumClass.maximum

the largest possible value.

struct EnumClass
int maximum;