Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::fusion::array_iterator< Array, Pos > Struct Template Reference

#include <array_iterator.hpp>

Inheritance diagram for boost::fusion::array_iterator< Array, Pos >:
Collaboration diagram for boost::fusion::array_iterator< Array, Pos >:

Classes

struct  advance
 
struct  deref
 
struct  distance
 
struct  next
 
struct  prior
 
struct  value_of
 

Public Types

typedef mpl::int_< Pos > index
 
typedef Array array_type
 
typedef iterator_facade_tag fusion_tag
 
typedef array_iterator< Array,
Pos > 
derived_type
 
typedef random_access_traversal_tag category
 

Public Member Functions

 BOOST_MPL_ASSERT_RELATION (Pos, >=, 0)
 
 BOOST_MPL_ASSERT_RELATION (Pos,<=, static_cast< int >(Array::static_size))
 
BOOST_FUSION_GPU_ENABLED array_iterator (Array &a)
 
BOOST_FUSION_GPU_ENABLED
array_iterator< Array, Pos >
const & 
cast () const
 
BOOST_FUSION_GPU_ENABLED
array_iterator< Array, Pos > & 
cast ()
 

Public Attributes

Array & array
 

Member Typedef Documentation

template<typename Array, int Pos>
typedef Array boost::fusion::array_iterator< Array, Pos >::array_type
typedef iterator_facade_tag boost::fusion::iterator_facade< array_iterator< Array, Pos > , random_access_traversal_tag >::fusion_tag
inherited
template<typename Array, int Pos>
typedef mpl::int_<Pos> boost::fusion::array_iterator< Array, Pos >::index

Constructor & Destructor Documentation

template<typename Array, int Pos>
BOOST_FUSION_GPU_ENABLED boost::fusion::array_iterator< Array, Pos >::array_iterator ( Array &  a)
inline

Member Function Documentation

template<typename Array, int Pos>
boost::fusion::array_iterator< Array, Pos >::BOOST_MPL_ASSERT_RELATION ( Pos  ,
>=  ,
 
)
template<typename Array, int Pos>
boost::fusion::array_iterator< Array, Pos >::BOOST_MPL_ASSERT_RELATION ( Pos  ,
<=  ,
static_cast< int >  Array::static_size 
)
BOOST_FUSION_GPU_ENABLED array_iterator< Array, Pos > const& boost::fusion::iterator_base< array_iterator< Array, Pos > >::cast ( ) const
inlineinherited
BOOST_FUSION_GPU_ENABLED array_iterator< Array, Pos > & boost::fusion::iterator_base< array_iterator< Array, Pos > >::cast ( )
inlineinherited

Member Data Documentation

template<typename Array, int Pos>
Array& boost::fusion::array_iterator< Array, Pos >::array

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