A simple type trait that inherits std::false_type
by default. If specialized for an enumeration type TEnum to inherit std::true_type
, the following operators set of ALib operators become applicable to elements of TEnum:
alib::enumops
, while in fact they are defined in the global namespace!Restrictions
For technical reasons, this concept is not applicable to enum types that are defined as private
or protected
inner types of structs or classes.
TEnum | The enum type to enable arithmetical operators for. |
Definition at line 53 of file arithmetical.inl.