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