#include <slice.hpp>
Public Types | |
typedef container::iterator | iterator |
typedef container::const_iterator | const_iterator |
typedef Internal::remove_cv< typename container::value_type >::type | value_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 |