Bolt
1.3
C++ template library with support for OpenCL
|
Base class provided to encapsulate all the common functionality for constant and non-constant iterators. More...
#include <device_vector.h>
Public Member Functions | |
iterator_base (Container &rhs, size_type index) | |
template<typename OtherContainer > | |
iterator_base (const iterator_base< OtherContainer > &rhs) | |
iterator_base (const iterator_base &rhs) | |
iterator_base< Container > & | operator= (const iterator_base< Container > &rhs) |
iterator_base< Container > & | operator+= (const difference_type &n) |
const iterator_base< Container > | operator+ (const difference_type &n) const |
Container | getContainer () const |
size_type | getIndex () const |
difference_type | distance_to (const iterator_base< Container > &rhs) const |
void | advance (difference_type n) |
void | increment () |
void | decrement () |
template<typename OtherContainer > | |
bool | equal (const iterator_base< OtherContainer > &rhs) const |
value_type & | operator[] (int x) const restrict(cpu |
value_type & | operator* () const restrict(cpu |
Public Attributes | |
int | m_Index |
value_type | amp |
Friends | |
class | boost::iterator_core_access |
class | device_vector< value_type > |
template<typename > | |
class | iterator_base |
Base class provided to encapsulate all the common functionality for constant and non-constant iterators.
value_type bolt::amp::device_vector< T, CONT >::iterator_base< Container >::amp |