Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::hash<std::basic_stacktrace>

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

Utility
  • C++11
  • C++23
1 min readView on cppreference
NotebookLM
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

This section is incomplete
Reason: no example

See also

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

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.