CppDS.com

C++ 98 11 14 17 20 手册

std::unordered_map<Key,T,Hash,KeyEqual,Allocator>::hash_function

来自cppreference.com

 
 
 
 
hasher hash_function() const;
(C++11 起)

返回对关键哈希的函数。

参数

(无)

返回值

哈希函数。

复杂度

常数。

参阅

返回用于比较键的相等性的函数
(公开成员函数)
关闭