Template for containers of enum_class. More...
#include <eagine/enum_class.hpp>
Additional Inherited Members | |
![]() | |
using | const_iterator = transforming_iterator< typename Container::const_iterator, EnumClass, EnumClass::value_type, typename EnumClass ::transform > |
Alias for the const iterator type. | |
![]() | |
constexpr | basic_wrapping_container () noexcept |
Default constructor. | |
constexpr | basic_wrapping_container (typename Container::size_type count) |
Resizing constructor. | |
basic_wrapping_container (basic_wrapping_container &&temp) noexcept | |
Move constructible. | |
constexpr | basic_wrapping_container (const basic_wrapping_container &)=default |
Copy constructible. | |
auto | operator= (basic_wrapping_container &&temp) noexcept -> basic_wrapping_container & |
Move assignable. | |
constexpr auto | operator= (const basic_wrapping_container &) -> basic_wrapping_container &=default |
Copy assignable. | |
constexpr | operator basic_wrapping_container< span< EnumClass::value_type >, EnumClass, EnumClass::value_type, EnumClass::value_type {}, typename EnumClass ::transform > () noexcept |
Implicit conversion to mutable view container. | |
constexpr | operator basic_wrapping_container< span< const EnumClass::value_type >, EnumClass, EnumClass::value_type, EnumClass::value_type {}, typename EnumClass ::transform > () noexcept |
Implicit conversion to const view container. | |
constexpr auto | empty () const noexcept -> bool |
Indicates if this container is empty. More... | |
constexpr auto | size () const noexcept |
Returns the number of elements in this container. More... | |
constexpr auto | operator[] (span_size_t index) const noexcept |
Subscript access. More... | |
constexpr auto | at (span_size_t index) const |
Access the element at the specified index. | |
constexpr auto | begin () const noexcept -> const_iterator |
Returns an iterator to the first element in this container. | |
constexpr auto | end () const noexcept -> const_iterator |
Returns an iterator past the last element in this container. | |
constexpr auto | raw_items () noexcept |
Returns view of the elements as they are stored, without transfomation. | |
constexpr auto | raw_items () const noexcept |
Returns view of the elements as they are stored, without transfomation. | |
Template for containers of enum_class.