---
name: "__gnu_parallel::equal_to"
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::equal_to/3cxx"
---

# \_\_gnu\_parallel::equal\_to(3cxx)

## NAME

\_\_gnu\_parallel::equal\_to\< T1, T2 \> -

## SYNOPSIS

Inherits **std::binary\_function\< T1, T2, bool \>**.

### Public Types

typedef T1 **first\_argument\_type**\
 typedef bool **result\_type**\
 typedef T2 **second\_argument\_type**\

### Public Member Functions

bool **operator()** (const T1 &t1, const T2 &t2) const \

## Detailed Description

### template\<typename T1, typename T2\>struct \_\_gnu\_parallel::equal\_to\< T1, T2 \>

Similar to **std::equal\_to**, but allows two different types.

Definition at line 250 of file base.h.

## Member Typedef Documentation

### typedef T1 std::binary\_function\< T1 , T2 , bool \>::first\_argument\_type` [inherited]`

the type of the first argument (no surprises here)

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

### typedef bool std::binary\_function\< T1 , T2 , bool \>::result\_type` [inherited]`

type of the return type

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

### typedef T2 std::binary\_function\< T1 , T2 , bool \>::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.
