clude/hpx/iterator_support/tests/iter_sent.hpp

See Public API for a list of names and headers that are part of the public HPX API.

Functions

template<typename Iter, typename ValueType, typename Enable = std::enable_if_t<hpx::traits::is_forward_iterator<Iter>::value>>
bool operator==(Iter it, sentinel<ValueType> s)
template<typename Iter, typename ValueType, typename Enable = std::enable_if_t<hpx::traits::is_forward_iterator<Iter>::value>>
bool operator==(sentinel<ValueType> s, Iter it)
template<typename Iter, typename ValueType, typename Enable = std::enable_if_t<hpx::traits::is_forward_iterator<Iter>::value>>
bool operator!=(Iter it, sentinel<ValueType> s)
template<typename Iter, typename ValueType, typename Enable = std::enable_if_t<hpx::traits::is_forward_iterator<Iter>::value>>
bool operator!=(sentinel<ValueType> s, Iter it)
template<typename ValueType>
struct sentinel

Public Functions

sentinel(ValueType stop_value)
ValueType get_stop() const

Private Members

ValueType stop
template<typename Value>
struct iterator

Public Types

template<>
using difference_type = std::ptrdiff_t
template<>
using value_type = Value
template<>
using iterator_category = std::forward_iterator_tag
template<>
using pointer = Value const*
template<>
using reference = Value const&

Public Functions

iterator(Value initialState)
virtual Value operator*() const
virtual Value operator->() const
iterator &operator++()
iterator operator++(int)
iterator &operator--()
iterator operator--(int)
virtual Value operator[](difference_type n) const
iterator &operator+=(difference_type n)
iterator operator+(difference_type n) const
iterator &operator-=(difference_type n)
iterator operator-(difference_type n) const
bool operator==(const iterator &that) const
bool operator!=(const iterator &that) const
bool operator<(const iterator &that) const
bool operator<=(const iterator &that) const
bool operator>(const iterator &that) const
bool operator>=(const iterator &that) const

Protected Attributes

Value state