std::hash<std::text_encoding>

Header: <text_encoding>

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.

# Declarations

template<> struct hash<std::text_encoding>;

(since C++26)

# Example

This section is incompleteReason: no example

# See also