LibreOffice Module o3tl (master) 1
|
Mark a (scoped) enumeration as a set of bit flags, with accompanying operations. More...
#include <typed_flags_set.hxx>
Classes | |
class | Wrap |
Public Types | |
typedef E | Self |
Static Public Attributes | |
static std::underlying_type< E >::type const | mask = M |
Mark a (scoped) enumeration as a set of bit flags, with accompanying operations.
template<> struct o3tl::typed_flags<TheE>: o3tl::is_typed_flags<TheE, TheM> {};
All relevant values must be non-negative. (Typically, the enumeration's underlying type will either be fixed and unsigned, or it will be unfixed— and can thus default to a signed type—and all enumerators will have non- negative values.)
E | the enumeration type. |
M | the all-bits-set value for the bit flags. |
Definition at line 65 of file typed_flags_set.hxx.
typedef E o3tl::is_typed_flags< E, M >::Self |
Definition at line 69 of file typed_flags_set.hxx.
|
static |
Definition at line 98 of file typed_flags_set.hxx.