Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::hash (std::experimental::string_view, std::experimental::wstring_view, std::experimental::u16string_view, std::experimental::u32string_view)

Template specializations of std::hash for the various view classes for hashing views.

NotebookLM
Defined in header <experimental/string_view>
template<> struct hash<std::experimental::string_view>;
template<> struct hash<std::experimental::wstring_view>;
template<> struct hash<std::experimental::u16string_view>;
template<> struct hash<std::experimental::u32string_view>;
(library fundamentals TS)

Template specializations of std::hash for the various view classes for hashing views.

See also

(C++11)
hash function object
(class template)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.