std::hash (std::experimental::string_view, std::experimental::wstring_view, std::experimental::u16string_view, std::experimental::u32string_view) - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

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

From cppreference.com
< cpp‎ | experimental‎ | basic string view

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.

### [edit] See also

hash (C++11) | hash function object (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/basic_string_view/hash&oldid=71345"