std::hash<std::text_encoding>
From cppreference.com
 
 
 < cpp | text | text encoding 
 
 
 C++ 
 Feature test macros (C++20)
 Concepts library (C++20)
 Metaprogramming library (C++11)
 Ranges library (C++20)
 Filesystem library (C++17)
 Concurrency support library (C++11)
 Execution control library (C++26)
Text processing library 
 
 
 
 
 
 
 
 
 Regular expressions library (C++11)
 Formatting library (C++20)
(C++17)
(C++17)
(C++17)
(C++17)
(C++17)
(C++26)
std::text_encoding 
 
hash<std::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
Reason: no example