stlsoft/iterators/index_iterator.hpp File Reference


Detailed Description

[C++ only] Definition of the stlsoft::index_iterator iterator adaptor class template (Iterators Library).

#include <stlsoft/stlsoft.h>
#include <stlsoft/iterators/adapted_iterator_traits.hpp>
#include <stlsoft/meta/is_pointer_type.hpp>
#include <stlsoft/meta/yesno.hpp>

Go to the source code of this file.

Namespaces

namespace  stlsoft

Classes

class  index_iterator
 An indexed iterator class. More...

Functions

template<typename I>
index_iterator< I > make_index_iterator (I it, ss_ptrdiff_t index=0)
 Creator function for index_iterator.
template<typename I>
index_iterator< I > indexer (I it, ss_ptrdiff_t index=0)
 Creator function for index_iterator.
template<typename I, typename T>
bool operator== (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)
template<typename I, typename T>
bool operator!= (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)
template<typename I, typename T>
index_iterator< I, T > operator+ (index_iterator< I, T > const &lhs, typename index_iterator< I, T >::difference_type rhs)
template<typename I, typename T>
index_iterator< I, T > operator- (index_iterator< I, T > const &lhs, ss_ptrdiff_t rhs)
template<typename I, typename T>
ss_typename_type_ret_k
index_iterator< I, T >
::difference_type 
operator- (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)
template<typename I, typename T>
bool operator< (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)
template<typename I, typename T>
bool operator<= (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)
template<typename I, typename T>
bool operator> (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)
template<typename I, typename T>
bool operator>= (index_iterator< I, T > const &lhs, index_iterator< I, T > const &rhs)


Generated on Thu Jun 10 08:58:08 2010 for STLSoft by  doxygen 1.5.6