libstdc++
|
#include <iterator.h>
Public Types | |
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 |
typedef void | value_type |
Public Member Functions | |
_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) |
constexpr void | swap (pair &__p) noexcept(__and_< __is_nothrow_swappable< _Iterator1 >, __is_nothrow_swappable< _Iterator2 > >::value) |
constexpr void | swap (pair &__p) noexcept(__and_< __is_nothrow_swappable< _Iterator1 >, __is_nothrow_swappable< _Iterator2 > >::value) |
Public Attributes | |
_Iterator1 | first |
_Iterator1 | first |
_Iterator2 | second |
_Iterator2 | second |
Related Symbols | |
(Note that these are not member symbols.) | |
constexpr enable_if< __and_< __is_swappable< _Iterator1 >, __is_swappable< _Iterator2 > >::value >::type | swap (pair< _Iterator1, _Iterator2 > &__x, pair< _Iterator1, _Iterator2 > &__y) noexcept(noexcept(__x.swap(__y))) |
constexpr enable_if< __and_< __is_swappable< _Iterator1 >, __is_swappable< _Iterator2 > >::value >::type | swap (pair< _Iterator1, _Iterator2 > &__x, pair< _Iterator1, _Iterator2 > &__y) noexcept(noexcept(__x.swap(__y))) |
constexpr bool | operator== (const pair< _Iterator1, _Iterator2 > &__x, const pair< _U1, _U2 > &__y) |
constexpr bool | operator== (const pair< _Iterator1, _Iterator2 > &__x, const pair< _U1, _U2 > &__y) |
constexpr common_comparison_category_t< __detail::__synth3way_t< _Iterator1, _U1 >, __detail::__synth3way_t< _Iterator2, _U2 > > | operator<=> (const pair< _Iterator1, _Iterator2 > &__x, const pair< _U1, _U2 > &__y) |
constexpr common_comparison_category_t< __detail::__synth3way_t< _Iterator1, _U1 >, __detail::__synth3way_t< _Iterator2, _U2 > > | operator<=> (const pair< _Iterator1, _Iterator2 > &__x, const pair< _U1, _U2 > &__y) |
A pair of iterators. The usual iterator operations are applied to both child iterators.
Definition at line 45 of file iterator.h.
typedef std::iterator_traits<_Iterator1> __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::_TraitsType |
Definition at line 54 of file iterator.h.
typedef _TraitsType::difference_type __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::difference_type |
Definition at line 55 of file iterator.h.
|
inherited |
The type of the first member.
Definition at line 305 of file stl_pair.h.
typedef _IteratorCategory __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::iterator_category |
Definition at line 51 of file iterator.h.
typedef _IteratorPair* __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::pointer |
Definition at line 56 of file iterator.h.
typedef _IteratorPair& __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::reference |
Definition at line 57 of file iterator.h.
|
inherited |
The type of the second member.
Definition at line 306 of file stl_pair.h.
typedef void __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >::value_type |
Definition at line 52 of file iterator.h.
|
inline |
Definition at line 59 of file iterator.h.
|
inline |
Definition at line 61 of file iterator.h.
|
inline |
Definition at line 93 of file iterator.h.
|
inline |
Definition at line 105 of file iterator.h.
|
inline |
Definition at line 66 of file iterator.h.
|
inline |
Definition at line 75 of file iterator.h.
|
inline |
Definition at line 110 of file iterator.h.
|
inline |
Definition at line 80 of file iterator.h.
|
inline |
Definition at line 89 of file iterator.h.
|
inline |
Definition at line 97 of file iterator.h.
|
inlineconstexprnoexceptinherited |
Swap the first members and then the second members.
Definition at line 321 of file stl_pair.h.
|
inlineconstexprnoexceptinherited |
Swap the first members and then the second members.
Definition at line 321 of file stl_pair.h.
|
Defines a lexicographical order for pairs.
For two pairs of comparable types, P is ordered before Q if P.first is less than Q.first, or if P.first and Q.first are equivalent (neither is less than the other) and P.second is less than Q.second.
Definition at line 1047 of file stl_pair.h.
|
Defines a lexicographical order for pairs.
For two pairs of comparable types, P is ordered before Q if P.first is less than Q.first, or if P.first and Q.first are equivalent (neither is less than the other) and P.second is less than Q.second.
Definition at line 1047 of file stl_pair.h.
Two pairs are equal iff their members are equal.
Definition at line 1031 of file stl_pair.h.
Two pairs are equal iff their members are equal.
Definition at line 1031 of file stl_pair.h.
|
Swap overload for pairs. Calls std::pair::swap().
Definition at line 1121 of file stl_pair.h.
|
Swap overload for pairs. Calls std::pair::swap().
Definition at line 1121 of file stl_pair.h.
|
inherited |
The first member.
Definition at line 308 of file stl_pair.h.
|
inherited |
The first member.
Definition at line 308 of file stl_pair.h.
|
inherited |
The second member.
Definition at line 309 of file stl_pair.h.
|
inherited |
The second member.
Definition at line 309 of file stl_pair.h.