---
name: "std::__detail::_Equality"
section: "3cxx"
platform: "linux"
package: "libstdc++-10-doc"
version: "10.2.1-6"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__detail::_Equality"
---

# std::\_\_detail::\_Equality(3cxx)

## NAME

std::\_\_detail::\_Equality\< \_Key, \_Value, \_Alloc, \_ExtractKey, \_Equal, \_H1, \_H2, \_Hash, \_RehashPolicy, \_Traits, \_Unique\_keys \>

## SYNOPSIS

Inherited by **std::\_Hashtable\< \_Key, \_Value, \_Alloc, \_ExtractKey, \_Equal, \_H1, \_H2, \_Hash, \_RehashPolicy, \_Traits \>**.

## Detailed Description

### template\<typename \_Key, typename \_Value, typename \_Alloc, typename \_ExtractKey, typename \_Equal, typename \_H1, typename \_H2, typename \_Hash, typename \_RehashPolicy, typename \_Traits, bool \_Unique\_keys = \_Traits::\_\_unique\_keys::value\>

struct std::\_\_detail::\_Equality\< \_Key, \_Value, \_Alloc, \_ExtractKey, \_Equal, \_H1, \_H2, \_Hash, \_RehashPolicy, \_Traits, \_Unique\_keys \>" Primary class template \_Equality.

This is for implementing equality comparison for unordered containers, per N3068, by John Lakos and Pablo Halpern. Algorithmically, we follow closely the reference implementations therein.

Definition at line 1831 of file hashtable\_policy.h.

## Author

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