MCPcopy Create free account
hub / github.com/boostorg/stacktrace / hash_value

Function hash_value

include/boost/stacktrace/frame.hpp:48–50  ·  view source on GitHub ↗

Fast hashing support, O(1) complexity; Async-Handler-Safe.

Source from the content-addressed store, hash-verified

46
47/// Fast hashing support, O(1) complexity; Async-Handler-Safe.
48inline std::size_t hash_value(const frame& f) noexcept {
49 return reinterpret_cast<std::size_t>(f.address());
50}
51
52/// Outputs stacktrace::frame in a human readable format to string; unsafe to use in async handlers.
53BOOST_STACKTRACE_FUNCTION std::string to_string(const frame& f);

Callers 3

test_comparisons_baseFunction · 0.50
test_frameFunction · 0.50

Calls 1

addressMethod · 0.80

Tested by 3

test_comparisons_baseFunction · 0.40
test_frameFunction · 0.40