Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::range_detail::strided_iterator< BaseIterator, Category > Class Template Reference

#include <strided.hpp>

Inheritance diagram for boost::range_detail::strided_iterator< BaseIterator, Category >:
Collaboration diagram for boost::range_detail::strided_iterator< BaseIterator, Category >:

Public Types

typedef super_t::difference_type difference_type
 
typedef super_t::reference reference
 
typedef BaseIterator base_iterator
 
typedef std::forward_iterator_tag iterator_category
 

Public Member Functions

 strided_iterator ()
 
 strided_iterator (base_iterator it, base_iterator last, difference_type stride)
 
template<class OtherIterator >
 strided_iterator (const strided_iterator< OtherIterator, Category > &other, typename enable_if_convertible< OtherIterator, base_iterator >::type *=0)
 
base_iterator base () const
 
base_iterator base_end () const
 
difference_type get_stride () const
 

Friends

class ::boost::iterator_core_access
 

Member Typedef Documentation

template<class BaseIterator, class Category>
typedef BaseIterator boost::range_detail::strided_iterator< BaseIterator, Category >::base_iterator
template<class BaseIterator, class Category>
typedef super_t::difference_type boost::range_detail::strided_iterator< BaseIterator, Category >::difference_type
template<class BaseIterator, class Category>
typedef std::forward_iterator_tag boost::range_detail::strided_iterator< BaseIterator, Category >::iterator_category
template<class BaseIterator, class Category>
typedef super_t::reference boost::range_detail::strided_iterator< BaseIterator, Category >::reference

Constructor & Destructor Documentation

template<class BaseIterator, class Category>
boost::range_detail::strided_iterator< BaseIterator, Category >::strided_iterator ( )
inline
template<class BaseIterator, class Category>
boost::range_detail::strided_iterator< BaseIterator, Category >::strided_iterator ( base_iterator  it,
base_iterator  last,
difference_type  stride 
)
inline
template<class BaseIterator, class Category>
template<class OtherIterator >
boost::range_detail::strided_iterator< BaseIterator, Category >::strided_iterator ( const strided_iterator< OtherIterator, Category > &  other,
typename enable_if_convertible< OtherIterator, base_iterator >::type = 0 
)
inline

Member Function Documentation

template<class BaseIterator, class Category>
base_iterator boost::range_detail::strided_iterator< BaseIterator, Category >::base ( ) const
inline
template<class BaseIterator, class Category>
base_iterator boost::range_detail::strided_iterator< BaseIterator, Category >::base_end ( ) const
inline
template<class BaseIterator, class Category>
difference_type boost::range_detail::strided_iterator< BaseIterator, Category >::get_stride ( ) const
inline

Friends And Related Function Documentation

template<class BaseIterator, class Category>
friend class ::boost::iterator_core_access
friend

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