◐ Shell
clean mode source ↗

std::hash<std::text_encoding> - cppreference.com

来自cppreference.com

template<> struct hash<std::text_encoding>;
(C++26 起)

std::hash 针对 std::text_encoding 的模板特化允许用户获得类型 std::text_encoding 的编码 id 和名称的散列值。

此特化的 operator() 为 noexcept。

示例

参阅