Definition of read only iterator used for the segmented_view View
.
More...
Public Member Functions | |
const_view_iterator (View const &view, index_type const &index) | |
Constructs an iterator over an element of the given view at position index . | |
const_view_iterator (View const *view, index_type const &index) | |
Constructs an iterator over the given view at position index . | |
reference | operator* () const |
const_view_iterator & | operator= (const_view_iterator const &other) |
index_type | index () const |
const_view_iterator & | operator++ () |
const_view_iterator | operator++ (int) |
const_view_iterator & | operator-- () |
const_view_iterator | operator-- (int) |
bool | operator!= (const_view_iterator const &it) const |
bool | operator== (const_view_iterator const &it) const |
template<typename Iterator > | |
bool | operator< (Iterator const &it) const |
const_view_iterator | operator+ (long n) const |
const_view_iterator | operator- (long n) const |
ptrdiff_t | operator- (const_view_iterator const &other) const |
Public Types | |
typedef const_view_iterator | iterator |
typedef std::forward_iterator_tag | iterator_category |
typedef view_traits< View >::value_type | value_type |
typedef view_traits< View >::const_reference | reference |
typedef ptrdiff_t | difference_type |
typedef value_type * | pointer |
Friends | |
bool | operator< (const_view_iterator const &c, const_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.
const_view_iterator stapl::detail::const_view_iterator< View >::operator+ | ( | long | n | ) | const |
const_view_iterator stapl::detail::const_view_iterator< View >::operator- | ( | long | n | ) | const |