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

const variation of slice_of More...

#include <scalgorithm.hpp>

Public Types

typedef DC::const_iterator const_iterator
 
typedef DC::value_type value_type
 
typedef DC::size_type size_type
 

Public Member Functions

 const_slice_of (const C &c, size_t idx, size_t len)
 
template<typename IT >
 const_slice_of (IT begin, IT end)
 
size_t size () const
 return the iterable length of the slice
 
auto begin () const
 return a const_iterator to the beginning of the container subset
 
auto end () const
 return a const_iterator to the end of the container subset
 

Detailed Description

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

const variation of slice_of


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