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

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

## NAME

\_\_gnu\_parallel::equal\_to -

## SYNOPSIS

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

## 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 257 of file base.h.

### 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 \

## 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 117 of file stl\_function.h.

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

type of the return type

Definition at line 121 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 120 of file stl\_function.h.

## Author

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