Definition of read only iterator used for the segmented_view View
.
More...
Public Member Functions | |
view_iterator (View const &view, index_type const &index) | |
Constructs an iterator over an element of the given view at position index . | |
view_iterator (View *view, index_type const &index) | |
Constructs an iterator over the given view at position index . | |
reference | operator* (void) const |
view_iterator & | operator= (view_iterator const &other) |
index_type | index (void) const |
view_iterator & | operator++ (void) |
view_iterator | operator++ (int) |
view_iterator & | operator-- (void) |
view_iterator | operator-- (int) |
bool | operator!= (view_iterator const &it) const |
bool | operator== (view_iterator const &it) const |
template<typename Iterator > | |
bool | operator< (Iterator const &it) const |
view_iterator | operator+ (long n) const |
view_iterator | operator- (long n) const |
ptrdiff_t | operator- (view_iterator const &other) const |
operator const_view_iterator< View > (void) const | |
Public Types | |
typedef view_iterator | iterator |
typedef std::forward_iterator_tag | iterator_category |
typedef view_traits< View >::value_type | value_type |
typedef view_traits< View >::reference | reference |
typedef ptrdiff_t | difference_type |
typedef value_type * | pointer |
Friends | |
bool | operator< (view_iterator const &c, view_iterator const &d) |
Definition of read only iterator used for the segmented_view View
.
The reference type associated with this iterator is a view over the view's container.
view_iterator stapl::detail::view_iterator< View >::operator+ | ( | long | n | ) | const |
view_iterator stapl::detail::view_iterator< View >::operator- | ( | long | n | ) | const |