adding operators to enum_type