---
name: "std::hash"
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/std::hash"
---

# std::hash(3)

Primary class template hash.

## NAME

std::hash\< \_Tp \> - Primary class template hash.

## SYNOPSIS

\#include \<functional\>

## Detailed Description

### template\<typename \_Tp\>

struct std::hash\< \_Tp \>"Primary class template hash.

Primary class template hash, usable for enum types only.

## Author

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