InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
index_based_iterator< T, R > Class Template Reference

#include <index_based_iterator.h>

Inheritance diagram for index_based_iterator< T, R >:

Public Types

typedef T::difference_type difference_type
 

Public Member Functions

 index_based_iterator (T const &storage, difference_type pos)
 
template<typename OtherValue >
 index_based_iterator (index_based_iterator< T, OtherValue > const &other, typename boost::enable_if< boost::is_convertible< OtherValue *, R * >, conversion_enabler >::type=conversion_enabler())
 

Friends

class boost::iterator_core_access
 
template<class , typename >
class index_based_iterator
 

Detailed Description

template<class T, typename R>
class index_based_iterator< T, R >

INTERNAL USE ONLY! Do not use this class directly. Index-based iterator class used by containers that support indexes. T models the container type and needs to implement these methods: size_type size() const; const_reference get_const_ref(difference_type pos) const; reference get_ref(difference_type pos);

R models the return type for the dereference operation