std:: hash <std::stacktrace_entry>
From cppreference.net
<
cpp
|
utility
|
stacktrace entry
C++
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::stacktrace_entry
| Member functions | ||||
| Observers | ||||
| Query | ||||
| Non-member functions | ||||
| Helper classes | ||||
|
hash
<std::stacktrace_entry>
|
||||
|
定义于头文件
<stacktrace>
|
||
|
template
<>
struct
hash
<
std::
stacktrace_entry
>
;
|
(C++23 起) | |
针对 std::stacktrace_entry 的 std::hash 模板特化允许用户获取 std::stacktrace_entry 类型值的哈希值。
此特化的
operator()
为 noexcept。
示例
|
本节内容不完整
原因:缺少示例 |
参见
|
(C++11)
|
哈希函数对象
(类模板) |
|
std::basic_stacktrace
的哈希支持
(类模板特化) |