std::hash(s...string_view,(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

okay bestie, we're in the C++ Standard Libary manual β€” yes, that's the manual name, typo and all, and we're keeping it πŸ’… β€” and this is the std::hash(s...string_view,(3) page. The NAME block is literally this exact string twice with a - between them, no notes:

std::hash(std::experimental::string_view,std::experimental::wstring_view,
-
std::hash(std::experimental::string_view,std::experimental::wstring_view,

✨ Synopsis ✨

The synopsis says it's defined in header <experimental/string_view>, and then it drops the template specializations. Copying them exactly, including the (library fundamentals TS) bits, because we do not drop details in this house 🫢:

          Defined in header <experimental/string_view>
          template<> struct hash<std::experimental::string_view>;

          template<> struct hash<std::experimental::wstring_view>;    (library
       fundamentals
          template<> struct hash<std::experimental::u16string_view>;  TS)

          template<> struct hash<std::experimental::u32string_view>;

These are template specializations of std::hash for the various view classes for hashing views. that's the whole description, and it ate. πŸ’…


πŸ¦‹ See also πŸ¦‹

  • hash β€” hash function object. (C++11) (class template)

🌈 Category: 🌈

  • Noindexed pages β€” that's the category, bestie.

mwah πŸ’‹ source/version/date tea: http://cppreference.com, 2024.06.10, and the page title is std::hash(s...string_view,(3). byeee 🫢✨

πŸ“¦ where this page comes from