DOKK / manpages / debian 11 / libstdc++-9-doc / __gnu_parallel::_IteratorPair.3cxx.en
__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >(3cxx) __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >(3cxx)

__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory > - A pair of iterators. The usual iterator operations are applied to both child iterators.

Inherits std::pair< _Iterator1, _Iterator2 >.


using _PCCFP = _PCC<!is_same< _Iterator1, _U1 >::value||!is_same< _Iterator2, _U2 >::value, _Iterator1, _Iterator2 >
using _PCCP = _PCC< true, _Iterator1, _Iterator2 >
typedef std::iterator_traits< _Iterator1 > _TraitsType
typedef _TraitsType::difference_type difference_type
typedef _Iterator1 first_type
typedef _IteratorCategory iterator_category
typedef _IteratorPair * pointer
typedef _IteratorPair & reference
typedef _Iterator2 second_type
first_type is the first bound type typedef void value_type


_IteratorPair (const _Iterator1 &__first, const _Iterator2 &__second)
operator _Iterator2 () const
_IteratorPair operator+ (difference_type __delta) const
_IteratorPair & operator++ ()
const _IteratorPair operator++ (int)
difference_type operator- (const _IteratorPair &__other) const
_IteratorPair & operator-- ()
const _IteratorPair operator-- (int)
_IteratorPair & operator= (const _IteratorPair &__other)
void swap (pair &__p) noexcept(__and_< __is_nothrow_swappable< _Iterator1 >, __is_nothrow_swappable< _Iterator2 >>::value)


_Iterator1 first
second_type is the second bound type _Iterator2 second
first is a copy of the first object

class __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >" A pair of iterators. The usual iterator operations are applied to both child iterators.

Definition at line 45 of file iterator.h.

using std::pair< _Iterator1 , _Iterator2 >::_PCCFP = _PCC<!is_same<_Iterator1 , _U1>::value || !is_same<_Iterator2 , _U2>::value, _Iterator1 , _Iterator2 > [inherited]

There is also a templated copy ctor for the pair class itself.

Definition at line 281 of file stl_pair.h.

using std::pair< _Iterator1 , _Iterator2 >::_PCCP = _PCC<true, _Iterator1 , _Iterator2 > [inherited]

Two objects may be passed to a pair constructor to be copied.

Definition at line 252 of file stl_pair.h.

first_type is the first bound type

Definition at line 212 of file stl_pair.h.

second_type is the second bound type

Definition at line 214 of file stl_pair.h.

first is a copy of the first object

Definition at line 215 of file stl_pair.h.

Generated automatically by Doxygen for libstdc++ from the source code.

Sun Feb 7 2021 libstdc++