template<typename Enum, Enum Last>
ContiguousEnumView class
Represents an array view of all the values of a contiguous enum type. The values of the enum need to be consecutive and the largest value needs to be known.
Public static functions
- static auto size() -> std::size_t constexpr
- Returns the number of consecutive enum values in the view.
Public functions
- auto begin() const -> ContiguousEnumIterator<Enum> constexpr
- Returns an iterator to the first enum value.
- auto end() const -> ContiguousEnumIterator<Enum> constexpr
- Returns an iterator to the last enum value.