Bolt  1.1
C++ template library with support for OpenCL
Public Member Functions | Friends | List of all members
bolt::amp::device_vector< T, CONT >::reverse_iterator_base< Container > Class Template Reference

A reverse random access iterator in the classic sense. More...

#include <device_vector.h>

Inheritance diagram for bolt::amp::device_vector< T, CONT >::reverse_iterator_base< Container >:

Public Member Functions

 reverse_iterator_base (Container &lhs, size_type index)
 
template<typename OtherContainer >
 reverse_iterator_base (const reverse_iterator_base< OtherContainer > &lhs)
 
reverse_iterator_base
< Container > & 
operator= (const reverse_iterator_base< Container > &lhs)
 
reverse_iterator_base
< Container > & 
operator+= (const difference_type &n)
 
const reverse_iterator_base
< Container > 
operator+ (const difference_type &n) const
 
size_type getIndex () const
 
Container & getContainer () const
 
difference_type distance_to (const reverse_iterator_base< Container > &lhs) const
 

Friends

class boost::iterator_core_access
 
class device_vector< value_type >
 
template<typename >
class reverse_iterator_base
 

Detailed Description

template<typename T, template< typename, int RANK=1 > class CONT = concurrency::array>
template<typename Container>
class bolt::amp::device_vector< T, CONT >::reverse_iterator_base< Container >

A reverse random access iterator in the classic sense.

Todo:
Need to implement base() which returns the base iterator
See Also
http://www.sgi.com/tech/stl/ReverseIterator.html
http://www.sgi.com/tech/stl/RandomAccessIterator.html

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