Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit a807003f81.
PrevUpHomeNext

Function get_capture_stacktraces_at_throw

boost::stacktrace::this_thread::get_capture_stacktraces_at_throw

Synopsis

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


bool get_capture_stacktraces_at_throw();

Description

Returns true if set_capture_stacktraces_at_throw(false) was not called and the boost_stacktrace_from_exception is linked to the current binary.

Implements https://wg21.link/p2370r1

Returns:

whether the capturing of stacktraces by the current thread of execution is enabled and boost::stacktrace::basic_stacktrace::from_current_exception may return a non empty stacktrace.


PrevUpHomeNext