std::hash(std::basic_stacktrace)

From cppreference.com
 
 
Diagnostics library
Exception handling
Exception handling failures
(until C++17*)
(until C++17*)
(C++11)(until C++17*)    
(until C++17*)
Error codes
Error codes
 
 
Defined in header <stacktrace>
template< class Allocator > struct hash<std::basic_stacktrace<Allocator>>;
(since C++23)

The template specialization of std::hash for std::basic_stacktrace allows users to obtain hashes of values of type std::basic_stacktrace.

operator() of this specialization is noexcept.

Example

See also

(C++11)
hash function object
(class template)
hash support for std::stacktrace_entry
(class template specialization)