W3cubDocs

/C++

std::hash(std::stacktrace_entry)

Defined in header <stacktrace>
template<> struct hash<std::stacktrace_entry>;
(since C++23)

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

operator() of this specialization is noexcept.

Example

See also

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

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/stacktrace_entry/hash