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::indexed_iterator< Iter > Class Template Reference

#include <indexed.hpp>

Inheritance diagram for boost::range_detail::indexed_iterator< Iter >:
Collaboration diagram for boost::range_detail::indexed_iterator< Iter >:

Public Types

typedef Iter wrapped
 
typedef base_t::difference_type difference_type
 
typedef base_t::reference reference
 
typedef base_t::difference_type index_type
 

Public Member Functions

 indexed_iterator ()
 
template<typename OtherWrapped >
 indexed_iterator (const indexed_iterator< OtherWrapped > &other, typename enable_if< is_convertible< OtherWrapped, wrapped > >::type *=0)
 
 indexed_iterator (wrapped it, index_type index)
 
wrapped get () const
 
index_type get_index () const
 

Friends

class boost::iterator_core_access
 

Member Typedef Documentation

template<typename Iter>
typedef base_t::difference_type boost::range_detail::indexed_iterator< Iter >::difference_type
template<typename Iter>
typedef base_t::difference_type boost::range_detail::indexed_iterator< Iter >::index_type
template<typename Iter>
typedef base_t::reference boost::range_detail::indexed_iterator< Iter >::reference
template<typename Iter>
typedef Iter boost::range_detail::indexed_iterator< Iter >::wrapped

Constructor & Destructor Documentation

template<typename Iter>
boost::range_detail::indexed_iterator< Iter >::indexed_iterator ( )
inline
template<typename Iter>
template<typename OtherWrapped >
boost::range_detail::indexed_iterator< Iter >::indexed_iterator ( const indexed_iterator< OtherWrapped > &  other,
typename enable_if< is_convertible< OtherWrapped, wrapped > >::type = 0 
)
inline
template<typename Iter>
boost::range_detail::indexed_iterator< Iter >::indexed_iterator ( wrapped  it,
index_type  index 
)
inlineexplicit

Member Function Documentation

template<typename Iter>
wrapped boost::range_detail::indexed_iterator< Iter >::get ( ) const
inline
template<typename Iter>
index_type boost::range_detail::indexed_iterator< Iter >::get_index ( ) const
inline

Friends And Related Function Documentation

template<typename Iter>
friend class boost::iterator_core_access
friend

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