Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::container::container_detail::vec_iterator< Pointer, IsConst > Class Template Reference

#include <vector.hpp>

Public Types

typedef
std::random_access_iterator_tag 
iterator_category
 
typedef
boost::intrusive::pointer_traits
< Pointer >::element_type 
value_type
 
typedef
boost::intrusive::pointer_traits
< Pointer >::difference_type 
difference_type
 
typedef if_c< IsConst,
typename
boost::intrusive::pointer_traits
< Pointer >::template
rebind_pointer< const
value_type >::type, Pointer >
::type 
pointer
 
typedef
boost::intrusive::pointer_traits
< Pointer > 
ptr_traits
 
typedef ptr_traits::reference reference
 

Public Member Functions

const Pointer & get_ptr () const BOOST_CONTAINER_NOEXCEPT
 
Pointer & get_ptr () BOOST_CONTAINER_NOEXCEPT
 
 vec_iterator (Pointer ptr) BOOST_CONTAINER_NOEXCEPT
 
 vec_iterator () BOOST_CONTAINER_NOEXCEPT
 
 vec_iterator (vec_iterator< Pointer, false > const &other) BOOST_CONTAINER_NOEXCEPT
 
reference operator* () const BOOST_CONTAINER_NOEXCEPT
 
pointer operator-> () const BOOST_CONTAINER_NOEXCEPT
 
reference operator[] (difference_type off) const BOOST_CONTAINER_NOEXCEPT
 
vec_iteratoroperator++ () BOOST_CONTAINER_NOEXCEPT
 
vec_iterator operator++ (int) BOOST_CONTAINER_NOEXCEPT
 
vec_iteratoroperator-- () BOOST_CONTAINER_NOEXCEPT
 
vec_iterator operator-- (int) BOOST_CONTAINER_NOEXCEPT
 
vec_iteratoroperator+= (difference_type off) BOOST_CONTAINER_NOEXCEPT
 
vec_iteratoroperator-= (difference_type off) BOOST_CONTAINER_NOEXCEPT
 

Friends

vec_iterator operator+ (const vec_iterator &x, difference_type off) BOOST_CONTAINER_NOEXCEPT
 
vec_iterator operator+ (difference_type off, vec_iterator right) BOOST_CONTAINER_NOEXCEPT
 
vec_iterator operator- (vec_iterator left, difference_type off) BOOST_CONTAINER_NOEXCEPT
 
difference_type operator- (const vec_iterator &left, const vec_iterator &right) BOOST_CONTAINER_NOEXCEPT
 
bool operator== (const vec_iterator &l, const vec_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator!= (const vec_iterator &l, const vec_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator< (const vec_iterator &l, const vec_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator<= (const vec_iterator &l, const vec_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator> (const vec_iterator &l, const vec_iterator &r) BOOST_CONTAINER_NOEXCEPT
 
bool operator>= (const vec_iterator &l, const vec_iterator &r) BOOST_CONTAINER_NOEXCEPT
 

Member Typedef Documentation

template<class Pointer, bool IsConst>
typedef boost::intrusive::pointer_traits<Pointer>::difference_type boost::container::container_detail::vec_iterator< Pointer, IsConst >::difference_type
template<class Pointer, bool IsConst>
typedef std::random_access_iterator_tag boost::container::container_detail::vec_iterator< Pointer, IsConst >::iterator_category
template<class Pointer, bool IsConst>
typedef if_c< IsConst , typename boost::intrusive::pointer_traits<Pointer>::template rebind_pointer<const value_type>::type , Pointer >::type boost::container::container_detail::vec_iterator< Pointer, IsConst >::pointer
template<class Pointer, bool IsConst>
typedef boost::intrusive::pointer_traits<Pointer> boost::container::container_detail::vec_iterator< Pointer, IsConst >::ptr_traits
template<class Pointer, bool IsConst>
typedef ptr_traits::reference boost::container::container_detail::vec_iterator< Pointer, IsConst >::reference
template<class Pointer, bool IsConst>
typedef boost::intrusive::pointer_traits<Pointer>::element_type boost::container::container_detail::vec_iterator< Pointer, IsConst >::value_type

Constructor & Destructor Documentation

template<class Pointer, bool IsConst>
boost::container::container_detail::vec_iterator< Pointer, IsConst >::vec_iterator ( Pointer  ptr)
inlineexplicit
template<class Pointer, bool IsConst>
boost::container::container_detail::vec_iterator< Pointer, IsConst >::vec_iterator ( vec_iterator< Pointer, false > const &  other)
inline

Member Function Documentation

template<class Pointer, bool IsConst>
const Pointer& boost::container::container_detail::vec_iterator< Pointer, IsConst >::get_ptr ( ) const
inline
template<class Pointer, bool IsConst>
Pointer& boost::container::container_detail::vec_iterator< Pointer, IsConst >::get_ptr ( )
inline
template<class Pointer, bool IsConst>
reference boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator* ( ) const
inline
template<class Pointer, bool IsConst>
vec_iterator& boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator++ ( )
inline
template<class Pointer, bool IsConst>
vec_iterator boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator++ ( int  )
inline
template<class Pointer, bool IsConst>
vec_iterator& boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator+= ( difference_type  off)
inline
template<class Pointer, bool IsConst>
vec_iterator& boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator-- ( )
inline
template<class Pointer, bool IsConst>
vec_iterator boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator-- ( int  )
inline
template<class Pointer, bool IsConst>
vec_iterator& boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator-= ( difference_type  off)
inline
template<class Pointer, bool IsConst>
pointer boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator-> ( ) const
inline
template<class Pointer, bool IsConst>
reference boost::container::container_detail::vec_iterator< Pointer, IsConst >::operator[] ( difference_type  off) const
inline

Friends And Related Function Documentation

template<class Pointer, bool IsConst>
bool operator!= ( const vec_iterator< Pointer, IsConst > &  l,
const vec_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
vec_iterator operator+ ( const vec_iterator< Pointer, IsConst > &  x,
difference_type  off 
)
friend
template<class Pointer, bool IsConst>
vec_iterator operator+ ( difference_type  off,
vec_iterator< Pointer, IsConst >  right 
)
friend
template<class Pointer, bool IsConst>
vec_iterator operator- ( vec_iterator< Pointer, IsConst >  left,
difference_type  off 
)
friend
template<class Pointer, bool IsConst>
difference_type operator- ( const vec_iterator< Pointer, IsConst > &  left,
const vec_iterator< Pointer, IsConst > &  right 
)
friend
template<class Pointer, bool IsConst>
bool operator< ( const vec_iterator< Pointer, IsConst > &  l,
const vec_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator<= ( const vec_iterator< Pointer, IsConst > &  l,
const vec_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator== ( const vec_iterator< Pointer, IsConst > &  l,
const vec_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator> ( const vec_iterator< Pointer, IsConst > &  l,
const vec_iterator< Pointer, IsConst > &  r 
)
friend
template<class Pointer, bool IsConst>
bool operator>= ( const vec_iterator< Pointer, IsConst > &  l,
const vec_iterator< Pointer, IsConst > &  r 
)
friend

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