std::hash<std::text_encoding>
來自 cppreference.com
< cpp | text | text_encoding
定義於標頭檔案 <text_encoding> |
||
template<> struct hash<std::text_encoding>; |
(C++26 起) | |
std::hash 對於 std::text_encoding 的模板特化允許使用者獲取型別為 std::text_encoding 的編碼 ID 和名稱的雜湊值。
此特化的 operator()
是 noexcept 的。
[編輯] 示例
本節不完整 原因:無示例 |
[編輯] 另請參閱
(C++11) |
雜湊函式物件 (類模板) |
std::basic_stacktrace 的雜湊支援 (類模板特化) |