|
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< T >, Wrapper, T, initial, Transform > () noexcept |
| Implicit conversion to mutable view container.
|
|
constexpr | operator basic_wrapping_container< span< const T >, Wrapper, T, initial, 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<typename Container, typename Wrapper, typename T, T initial = T{}, typename Transform = typename Wrapper::transform>
class eagine::basic_wrapping_container< Container, Wrapper, T, initial, Transform >
Template used in implementation of containers with wrapped elements.