Smart enum for enumerations with the UndefinedBehavior
value.
More...
#include </home/chochlik/devel/oglplus/include/oglplus/opt/smart_enums.hpp>
Public Member Functions | |
template<typename Enum , Enum = Enum::UndefinedBehavior> | |
operator Enum (void) const | |
Conversion to any Enum type having the UndefinedBehavior value. More... | |
Friends | |
template<typename Enum > | |
bool | operator== (Enum value, UndefinedBehavior) |
Equality comparison with any Enum type having the UndefinedBehavior value. More... | |
template<typename Enum > | |
bool | operator!= (Enum value, UndefinedBehavior) |
Non-equality comparison with any Enum type having the UndefinedBehavior value. More... | |
Smart enum for enumerations with the UndefinedBehavior
value.
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB
oglplus::smart_enums::UndefinedBehavior::operator Enum | ( | void | ) | const |
Conversion to any Enum
type having the UndefinedBehavior value.
Instances of the UndefinedBehavior type are convertible to instances of any enumeration type having the UndefinedBehavior
value.
|
friend |
Non-equality comparison with any Enum
type having the UndefinedBehavior value.
Instances of the smart_enums::UndefinedBehavior
type can be compared for non-equality to instances of any enumeration type having the UndefinedBehavior
value.
|
friend |
Equality comparison with any Enum
type having the UndefinedBehavior value.
Instances of the smart_enums::UndefinedBehavior
type can be compared for equality to instances of any enumeration type having the UndefinedBehavior
value.