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

Function my_terminate_handler

example/terminate_handler.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54#include <boost/stacktrace.hpp>
55
56void my_terminate_handler() {
57 try {
58 std::cerr << boost::stacktrace::stacktrace();
59 } catch (...) {}
60 std::abort();
61}
62//]
63
64////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected