stlab-enum-ops 1.0.0
Type-safe operators for enums
|
The stlab namespace. More...
Functions | |
auto | stlab_enable_bitmask_enum (...) -> std::false_type |
auto | stlab_enable_arithmetic_enum (...) -> std::false_type |
The stlab namespace.
auto stlab::stlab_enable_arithmetic_enum | ( | ... | ) | -> std::false_type |
Overload this for your enum in the enum namespace to return std::true_type and enable arithmetic operators.
auto stlab::stlab_enable_bitmask_enum | ( | ... | ) | -> std::false_type |
Overload this for your enum in the enum namespace to return std::true_type and enable bitwise operators.