Simple C++ Algorithms
Public Types | Public Member Functions | List of all members
sca::slice_of< C > Class Template Reference

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
 

Detailed Description

template<typename C>
class sca::slice_of< C >

the underlying type returned by slice() representing a subset of a container


The documentation for this class was generated from the following file: