Namespaces
Variants
Actions

std::hash<std::text_encoding>

From cppreference.com
< cpp‎ | text‎ | text encoding
 
 
 
 
Defined in header <text_encoding>
template<> struct hash<std::text_encoding >;
(since C++26)

The template specialization of std::hash for std::text_encoding allows users to obtain hashes of encoded id and name of type std::text_encoding.

operator() of this specialization is noexcept.

[edit] Example

This section is incomplete
Reason: no example

[edit] See also

(C++11)
hash function object
(class template) [edit]
hash support for std::basic_stacktrace
(class template specialization) [edit]
Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/text/text_encoding/hash&oldid=179086"

AltStyle によって変換されたページ (->オリジナル) /