__gnu_parallel::_IteratorPair.3cxx
Contents
Detailed Description
template<typename_Iterator1,typename_Iterator2,typename_IteratorCategory>
class __gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory >"A pair of iterators. The
usual iterator operations are applied to both child iterators.
Member Data Documentation
_Iterator1std::pair<_Iterator1,_Iterator2>::first[inherited]
The first member.
_Iterator2std::pair<_Iterator1,_Iterator2>::second[inherited]
The second member.
Member Function Documentation
constexprvoidstd::pair<_Iterator1,_Iterator2>::swap(pair<_Iterator1,_Iterator2>&__p)[inline],[constexpr],[noexcept],[inherited]
Swap the first members and then the second members.
Member Typedef Documentation
typedef_Iterator1std::pair<_Iterator1,_Iterator2>::first_type[inherited]
The type of the first member.
typedef_Iterator2std::pair<_Iterator1,_Iterator2>::second_type[inherited]
The type of the second member.
Name
__gnu_parallel::_IteratorPair< _Iterator1, _Iterator2, _IteratorCategory > - A pair of iterators. The
usual iterator operations are applied to both child iterators.
Synopsis
#include <iterator.h>
Inherits std::pair<_Iterator1,_Iterator2>.
PublicTypes
typedef std::iterator_traits< _Iterator1 > _TraitsType
typedef _TraitsType::difference_type difference_type
typedef _Iterator1 first_type
The type of the first member.
typedef _IteratorCategory iterator_category
typedef _IteratorPair * pointer
typedef _IteratorPair & reference
typedef _Iterator2 second_type
The type of the second member.
typedef void value_typePublicMemberFunctions_IteratorPair (const _Iterator1 &__first, const _Iterator2 &__second)
operator_Iterator2 () const
_IteratorPairoperator+ (difference_type __delta) const
_IteratorPair & operator++ ()
const _IteratorPairoperator++ (int)
difference_type operator- (const _IteratorPair &__other) const
_IteratorPair & operator-- ()
const _IteratorPairoperator-- (int)
_IteratorPair & operator= (const _IteratorPair &__other)
constexpr void swap (pair &__p) noexcept(__and_< __is_nothrow_swappable< _Iterator1 >,
__is_nothrow_swappable< _Iterator2 > >::value)
Swap the first members and then the second members.
PublicAttributes
_Iterator1 first
The first member.
_Iterator2 second
The second member.
RelatedSymbols
(Note that these are not member symbols.)
constexpr pair< typename __decay_and_strip< _Iterator1 >::__type, typename __decay_and_strip< _Iterator2
>::__type > make_pair (_Iterator1 &&__x, _Iterator2 &&__y)
A convenience wrapper for creating a pair from two objects.
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< _Iterator1,
_Iterator2 > &__y)
Two pairs of the same type are equal iff their members are equal.
constexpr bool operator< (const pair< _Iterator1, _Iterator2 > &__x, const pair< _Iterator1,
_Iterator2 > &__y)
constexpr bool operator!= (const pair< _Iterator1, _Iterator2 > &__x, const pair< _Iterator1,
_Iterator2 > &__y)
Uses operator== to find the result.
constexpr bool operator> (const pair< _Iterator1, _Iterator2 > &__x, const pair< _Iterator1,
_Iterator2 > &__y)
Uses operator< to find the result.
constexpr bool operator<= (const pair< _Iterator1, _Iterator2 > &__x, const pair< _Iterator1,
_Iterator2 > &__y)
Uses operator< to find the result.
constexpr bool operator>= (const pair< _Iterator1, _Iterator2 > &__x, const pair< _Iterator1,
_Iterator2 > &__y)
Uses operator< to find the result.
