std:: hash <std::text_encoding>
From cppreference.com
<
cpp
|
locale
|
text encoding
C++
Localization library
| Character conversions | ||||
| String and stream conversions | ||||
|
(
C++11/17/26*
)
|
||||
|
(
C++11/17/26*
)
|
| Text encoding identifications | |||||
|
|||||
| Unicode conversion facets | |||||
|
(
C++11/17/26*
)
|
|||||
|
(
C++11/17/26*
)
|
|||||
|
(
C++11/17/26*
)
|
|||||
|
(
C++11/17/26*
)
|
|||||
std::text_encoding
| Member functions | ||||
| Creation | ||||
| Observers | ||||
| Helpers | ||||
| Non-member functions | ||||
| Member types | ||||
| Helper classes | ||||
|
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.
Example
|
This section is incomplete
Reason: no example |
See also
|
(C++11)
|
hash function object
(class template) |
|
hash support for
std::basic_stacktrace
(class template specialization) |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/locale/text_encoding/hash&oldid=177971
"