Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Function set_capture_stacktraces_at_throw

boost::stacktrace::this_thread::set_capture_stacktraces_at_throw — Invoking the function with the enable parameter equal to true enables capturing of stacktraces by the current thread of execution at exception object construction if the boost_stacktrace_from_exception library is linked to the current binary; disables otherwise.

Synopsis

// In header: <boost/stacktrace/this_thread.hpp>


void set_capture_stacktraces_at_throw(bool enable = true);

Description

Implements https://wg21.link/p2370r1


PrevUpHomeNext