Simple TMP struct 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::enums
, 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. |
TEnableIf | This parameter has a default expressions and must not be provided with specializations of this struct. It is used to ensure that template parameter TEnum is an enumeration type. |
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 bitwise operators for. |
TEnableIf | This parameter has a default expressions and must not be provided with specializations of this struct. It is used to ensure that template parameter TEnum is an enumeration type. |
Definition at line 101 of file bitwise.hpp.
#include <bitwise.hpp>