Namespaces
Variants

std:: hash <std::basic_stacktrace>

From cppreference.net
定义于头文件 <stacktrace>
template < class Allocator > struct hash < std:: basic_stacktrace < Allocator >> ;
(C++23 起)

针对 std::basic_stacktrace std::hash 模板特化允许用户获取 std::basic_stacktrace 类型值的哈希值。

此特化的 operator() 为 noexcept。

示例

参见

(C++11)
哈希函数对象
(类模板)
std::stacktrace_entry 的哈希支持
(类模板特化)