libstdc++: std::equal_to< _Tp > Struct Template Reference

libstdc++

std::equal_to< _Tp > Struct Template Reference
Utilities » Function Objects » Comparison Classes

`#include <stl_function.h>`

Inheritance diagram for std::equal_to< _Tp >:
[legend]

## Public Types
typedef _Tp | first_argument_type
typedef bool | result_type
typedef _Tp | second_argument_type

## Public Member Functions
constexpr bool | operator() (const _Tp &__x, const _Tp &__y) const

## Detailed Description

template<typename _Tp>
struct std::equal_to< _Tp >

One of the comparison functors.

Definition at line 373 of file stl_function.h.

## Member Typedef Documentation

## ◆ first_argument_type

typedef _Tp std::binary_function< _Tp, _Tp, bool >::first_argument_type
| inherited

`first_argument_type` is the type of the first argument

Definition at line 137 of file stl_function.h.

## ◆ result_type

typedef bool std::binary_function< _Tp, _Tp, bool >::result_type
| inherited

`result_type` is the return type

Definition at line 143 of file stl_function.h.

## ◆ second_argument_type

typedef _Tp std::binary_function< _Tp, _Tp, bool >::second_argument_type
| inherited

`second_argument_type` is the type of the second argument

Definition at line 140 of file stl_function.h.

## Member Function Documentation

## ◆ operator()()

template<typename _Tp>

bool std::equal_to< _Tp >::operator() | ( | const _Tp & | __x,
|  | const _Tp & | __y ) const
| inlineconstexpr

Definition at line 377 of file stl_function.h.

The documentation for this struct was generated from the following file:

- stl_function.h