In the following table only constructor, assignment operators, and cast operators are shown. Additionally, the template class includes compare operators. However, for the sake of brevity they are not listed here.
| Methods | Description |
|---|---|
| enum_type(const int a) | Constructor to create an enumeration instance from an int. |
| enum_type &operator=(const enum_type a) |
Assignment operator. |
| enum_type &operator=(const int a) |
Assignment operator. |
| enum_type &operator=(const enum_base a) |
This operator is used to assign a value of a related enumeration type to the current instance. |
| enum_type(const enum_base a) | Cast operator to convert a enum_base value into an enum_type. |