UNISTDX_IT_ITERATOR_PAIR
template <class T>
class sys::iterator_pair

Container interface for two iterators. The container stores two iterators and provides begin/end methods.

Types
  • using const_reference = std::add_const< typename iterator::reference >::type

    Constant reference type.

  • using size_type = std::make_signed< typename iterator::difference_type >::type

    Size type.

  • using difference_type = iterator::difference_type

    Difference type.

  • using reference = iterator::reference

    Reference type.

  • using value_type = iterator::value_type

    Value type.

  • using iterator = T

    Iterator type.

Methods
  • end() -> iterator

    Returns iterator to the end of attribute sequence.

  • begin() -> iterator

    Returns iterator to the beginning of attribute sequence.

  • iterator_pair(const iterator_pair &)

    Copy-constructor.

  • iterator_pair(iterator_pair &&)

    Move-constructor.

  • iterator_pair(iterator first, iterator last)

    Construct iterator pair from first and last.

template <class T>
make_view(T first, T last) -> iterator_pair< T >

Construct iterator pair from first and last.