stlab-enum-ops 1.1.0
Type-safe operators for enums
|
Functions to enable typesafe operations for enum types. More...
Functions | |
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. | |
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::adobe_enable_bitmask_enum (...) -> std::false_type |
auto | stlab::adobe_enable_arithmetic_enum (...) -> std::false_type |
Functions to enable typesafe operations for enum types.
These functions must be overloaded in your enum's namespace to enable the corresponding operations for your enum type.
auto stlab::adobe_enable_arithmetic_enum | ( | ... | ) | -> std::false_type |
auto stlab::adobe_enable_bitmask_enum | ( | ... | ) | -> std::false_type |