NUMA++ 0.11.0
Loading...
Searching...
No Matches
numapp::IsFlagEnum< Enum > Struct Template Reference

Trait type that should be specialized for an enumeration to enable use of bitwise operators. More...

Detailed Description

template<class Enum>
struct numapp::IsFlagEnum< Enum >

Trait type that should be specialized for an enumeration to enable use of bitwise operators.

Note
Use macro NUMAPP_ENABLE_BITFLAG instead.

Example to enable Flags for enum MyEnum:

namespace numapp { template<> struct IsFlagEnum<MyEnum> : std::true_type {}; }

Definition at line 50 of file flags.hpp.


The documentation for this struct was generated from the following file: