std::hash(s...agate_const)(3)
π NAME π
okay so bestie, this is std::hash(std::experimental::propagate_const) from the C++ Standard Libary manual, and the NAME section is literally serving std::hash(std::experimental::propagate_const) β std::hash(std::experimental::propagate_const) again. yes, it says it twice. iconic, no notes. π
β¨ Synopsis β¨
hereβs the synopsis vibe, kept exactly:
Defined in header <experimental/propagate_const>
template< class T > struct
(library fundamentals
hash<std::experimental::propagate_const<T>>; TS v2)
so yeah, thatβs the whole synopsis. The template specialization of std::hash for std::experimental::propagate_const<T> allows users to obtain hashes of objects of type std::experimental::propagate_const<T>. slay. π₯
For a given std::experimental::propagate_const<T> p, this specialization ensures that
std::hash<std::experimental::propagate_const<T>>()(p) ==
std::hash<T>()(p.t_),
where p.t_ is the pointer-like object wrapped by p. periodt. π«Ά
π Example π
This section is incomplete π
Reason: no example
not a single example. we move. π
π See also π
hashβ hash function object(C++11)(class template)
π·οΈ Category π·οΈ
- Todo no example
k bye bestie π β source/version: http://cppreference.com, date: 2024.06.10, page signature: std::hash(s...agate_const)(3). πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms