#include <slice.hpp>
Public Types | |
using | iterator = typename container::iterator |
using | const_iterator = typename container::const_iterator |
using | value_type = typename std::remove_cv< typename container::value_type >::type |
Public Member Functions | |
ContainerStorage (container &data, size_t, size_t end) | |
const value_type & | unsafeAt (size_t index) const |
value_type & | unsafeAt (size_t index) |
iterator | unsafeGetIteratorAt (size_t index) |
const_iterator | unsafeGetIteratorAt (size_t index) const |
Public Attributes | |
container & | data_ |
Implementation of the storage concept for STL-containers.
container | Type of the STL-container. |
|
inline |
std::out_of_range | when end is larger than the container's size. |
|
inline |
Obtain a constant reference to the element with the given index
in the container.
whatever | container::at() throws |
|
inline |
Obtain an iterator at the position of the element with the given index in the container.
whatever | container::begin() and std::advance() throw |