template<typename TEnum, typename TEnableIf>
struct alib::enums::EnumIterator< TEnum, TEnableIf >
Implements a std::iterator_traits
class for scoped and non-scoped enum types. The documentation is found with TMP struct T_EnumIsIterable , which needs to be specialized for template type TEnum . For other types, this class is not constructible.
- Template Parameters
-
TEnum | The enum type to iterate over. |
TEnableIf | This parameter has a default expressions and must not be provided with specializations of this struct. It is used internally to ensure that only if a specialization of T_EnumIsIterable exists, this class is available. |
Definition at line 214 of file iterable.hpp.