---
name: "__gnu_pbds::detail::eq_by_less"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_pbds::detail::eq_by_less"
---

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

Equivalence function.

## NAME

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

## SYNOPSIS

\#include \<eq\_by\_less.hpp\>

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