---
name: "__gnu_parallel::iterator_pair"
section: "3"
platform: "linux"
package: "libstdc++6-4.3-doc"
version: "4.3.2-1.1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::iterator_pair"
---

# \_\_gnu\_parallel::iterator\_pair(3)

## NAME

\_\_gnu\_parallel::iterator\_pair -

## SYNOPSIS

Inherits **pair\< Iterator1, Iterator2 \>**.

## Detailed Description

### template\<typename Iterator1, typename Iterator2, typename IteratorCategory\> class \_\_gnu\_parallel::iterator\_pair\< Iterator1, Iterator2, IteratorCategory \>

A pair of iterators. The usual iterator operations are applied to both child iterators.

Definition at line 50 of file iterator.h.

### Public Types

typedef traits\_type::difference\_type **difference\_type**\
 typedef Iterator1 **first\_type**\
 typedef IteratorCategory **iterator\_category**\
 typedef **type** \* **pointer**\
 typedef **type** & **reference**\
 typedef Iterator2 **second\_type**\
 typedef **std::iterator\_traits**\< Iterator1 \> **traits\_type**\
 typedef void **value\_type**\

### Public Member Functions

**iterator\_pair** (const Iterator1 &**first**, const Iterator2 &**second**)\
 **operator Iterator2** () const \
 **type** **operator+** (difference\_type delta) const \
 const **type** **operator++** (int)\
 **type** & **operator++** ()\
 difference\_type **operator-** (const **type** &other) const \
 const **type** **operator--** (int)\
 **type** & **operator--** ()\
 **type** & **operator=** (const **type** &other)\

### Public Attributes

Iterator1 **first**\
 Iterator2 **second**\

## Member Typedef Documentation

### typedef Iterator1 std::pair\< Iterator1 , Iterator2 \>::first\_type` [inherited]`

`first_type` is the first bound type

Definition at line 74 of file stl\_pair.h.

### typedef Iterator2 std::pair\< Iterator1 , Iterator2 \>::second\_type` [inherited]`

`second_type` is the second bound type

Definition at line 75 of file stl\_pair.h.

## Member Data Documentation

### Iterator1 std::pair\< Iterator1 , Iterator2 \>::first` [inherited]`

`first` is a copy of the first object

Definition at line 77 of file stl\_pair.h.

### Iterator2 std::pair\< Iterator1 , Iterator2 \>::second` [inherited]`

`second` is a copy of the second object

Definition at line 78 of file stl\_pair.h.

## Author

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