Fast hashing support, O(1) complexity; Async-Handler-Safe.
| 46 | |
| 47 | /// Fast hashing support, O(1) complexity; Async-Handler-Safe. |
| 48 | inline 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. |
| 53 | BOOST_STACKTRACE_FUNCTION std::string to_string(const frame& f); |