---
name: "__gnu_pbds::detail::eq_by_less"
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_pbds::detail::eq_by_less/3cxx"
---

# \_\_gnu\_pbds::detail::eq\_by\_less(3cxx)

Equivalence function.

## NAME

\_\_gnu\_pbds::detail::eq\_by\_less\< Key, Cmp\_Fn \> - Equivalence function.

## SYNOPSIS

`#include <eq_by_less.hpp>`

Inherits Cmp\_Fn.

### Public Member Functions

bool **operator()** (const Key &r\_lhs, const Key &r\_rhs) const\

## Detailed Description

### template\<typename Key, class Cmp\_Fn\>

struct \_\_gnu\_pbds::detail::eq\_by\_less\< Key, Cmp\_Fn \>"Equivalence function.

## Author

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