|
Simple C++ Algorithms
|
the underlying type returned by slice() representing a subset of a container
More...
#include <scalgorithm.hpp>
Public Types | |
| typedef DC::iterator | iterator |
| typedef DC::value_type | value_type |
| typedef DC::size_type | size_type |
Public Member Functions | |
| slice_of (const C &c, size_t idx, size_t len)=delete | |
| slice_of (C &c, size_t idx, size_t len) | |
| slice_of (C &&c, size_t idx, size_t len) | |
| template<typename IT > | |
| slice_of (IT begin, IT end) | |
| size_t | size () const |
| return the iterable length of the slice | |
| auto | begin () |
| return an iterator to the beginning of the container subset | |
| auto | end () |
| return an iterator to the end of the container subset | |
the underlying type returned by slice() representing a subset of a container