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