---
name: "__gnu_parallel::_EqualFromLess"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_parallel::_EqualFromLess/3cxx"
---

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

Constructs predicate for equality from strict weak ordering predicate.

## NAME

\_\_gnu\_parallel::\_EqualFromLess\< \_T1, \_T2, \_Compare \> - Constructs predicate for equality from strict weak ordering predicate.

## SYNOPSIS

`#include <base.h>`

Inherits **std::binary\_function\< \_T1, \_T2, bool \>**.

### Public Types

typedef \_T1 **first\_argument\_type**\
 `first_argument_type` is the type of the first argument  typedef bool **result\_type**\
 `result_type` is the return type  typedef \_T2 **second\_argument\_type**\
 `second_argument_type` is the type of the second argument

### Public Member Functions

**\_EqualFromLess** (\_Compare &\_\_comp)\
 bool **operator()** (const \_T1 &\_\_a, const \_T2 &\_\_b)\

## Detailed Description

### template\<typename \_T1, typename \_T2, typename \_Compare\>

class \_\_gnu\_parallel::\_EqualFromLess\< \_T1, \_T2, \_Compare \>"Constructs predicate for equality from strict weak ordering predicate.

## Member Typedef Documentation

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

`first_argument_type` is the type of the first argument

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

`result_type` is the return type

### typedef \_T2 std::binary\_function\< \_T1 , \_T2 , bool \>::second\_argument\_type` [inherited]`

`second_argument_type` is the type of the second argument

## Author

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