P3816

Hashing meta::info

R4

This paper proposes a new standard library template, `consteval_hash<T>`, with a single specialization for `meta::info`. The purpose of this facility is to provide a standard interface for compile-time hashing, thereby allowing unordered containers such as `unordered_map` and `unordered_set` to be used with `meta::info` keys, and potentially with other types in the future.

Authors
Matt Cummins, Valentyn Yukhymenko
Mailing
2026-10
Doc date
2026-10-22
Audience
EWGSG7

Revision history

  1. 2026-10
    R4 Selected (shown above)
  2. 2026-05
    R3 SG7

    Hashing meta::info

  3. 2026-02
    R2 SG7

    Hashing meta::info