---
name: "__gnu_parallel::plus"
section: "3cxx"
platform: "linux"
package: "libstdc++6-4.4-doc"
version: "4.4.7-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::plus/3cxx"
---

# \_\_gnu\_parallel::plus(3cxx)

## NAME

\_\_gnu\_parallel::plus\< \_Tp1, \_Tp2 \> -

## SYNOPSIS

Inherits **std::binary\_function\< \_Tp1, \_Tp2, \_Tp1 \>**.

### Public Types

typedef \_Tp1 **first\_argument\_type**\
 typedef \_Tp1 **result\_type**\
 typedef \_Tp2 **second\_argument\_type**\
 typedef \_\_typeof\_\_(\*)(const \
 \_Tp1 &\_\_x, const \_Tp2 &\_\_y **static\_cast** )(NULL)+\*static\_cast\< \_Tp2 \* \>(NULL)) result;resultoperator("\

## Detailed Description

### template\<typename \_Tp1, typename \_Tp2\>struct \_\_gnu\_parallel::plus\< \_Tp1, \_Tp2 \>

Similar to **std::plus**, but allows two different types.

Definition at line 281 of file base.h.

## Member Typedef Documentation

### typedef \_Tp1 std::binary\_function\< \_Tp1 , \_Tp2 , \_Tp1 \>::first\_argument\_type` [inherited]`

the type of the first argument (no surprises here)

Definition at line 114 of file stl\_function.h.

### typedef \_Tp1 std::binary\_function\< \_Tp1 , \_Tp2 , \_Tp1 \>::result\_type` [inherited]`

type of the return type

Definition at line 118 of file stl\_function.h.

### typedef \_Tp2 std::binary\_function\< \_Tp1 , \_Tp2 , \_Tp1 \>::second\_argument\_type` [inherited]`

the type of the second argument

Definition at line 117 of file stl\_function.h.

## Author

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