10 template <
typename Enum>
std::underlying_type_t< Enum > Underlying
Type of the underlying enum values.
Definition: Enum.h:14
bool operator!=(const iterator &other) const
Inequality operator to compare two iterators.
Definition: Enum.h:33
Enum operator*() const
Dereference operator to get the current enum value.
Definition: Enum.h:22
iterator begin() const
Returns an iterator to the beginning of the enum range.
Definition: Enum.h:37
Helper class to iterate over enum values from Enum::First to Enum::Last.
Definition: Enum.h:11
Underlying v
Current value of the iterator.
Definition: Enum.h:19
iterator end() const
Returns an iterator to the end of the enum range.
Definition: Enum.h:39
Iterator class to iterate over enum values.
Definition: Enum.h:17
bool operator==(const iterator &other) const
Equality operator to compare two iterators.
Definition: Enum.h:31
iterator & operator++()
Pre-increment operator to move to the next enum value.
Definition: Enum.h:25