cgv
Loading...
Searching...
No Matches
cgv::utils::count_range< iterator_type > Class Template Reference

Public Types

using iterator = count_iterator< iterator_type >
 
using index_type = typename std::iterator_traits< iterator_type >::difference_type
 

Public Member Functions

 count_range (iterator_type first, iterator_type last, index_type start=0)
 
iterator begin () const
 
iterator end () const
 

Detailed Description

template<typename iterator_type>
class cgv::utils::count_range< iterator_type >

Definition at line 61 of file enumerate.h.

Member Typedef Documentation

◆ index_type

template<typename iterator_type >
using cgv::utils::count_range< iterator_type >::index_type = typename std::iterator_traits<iterator_type>::difference_type

Definition at line 64 of file enumerate.h.

◆ iterator

template<typename iterator_type >
using cgv::utils::count_range< iterator_type >::iterator = count_iterator<iterator_type>

Definition at line 63 of file enumerate.h.

Constructor & Destructor Documentation

◆ count_range()

template<typename iterator_type >
cgv::utils::count_range< iterator_type >::count_range ( iterator_type  first,
iterator_type  last,
index_type  start = 0 
)
inlineexplicit

Definition at line 70 of file enumerate.h.

Member Function Documentation

◆ begin()

template<typename iterator_type >
iterator cgv::utils::count_range< iterator_type >::begin ( ) const
inline

Definition at line 73 of file enumerate.h.

◆ end()

template<typename iterator_type >
iterator cgv::utils::count_range< iterator_type >::end ( ) const
inline

Definition at line 76 of file enumerate.h.


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