| Home | Libraries | People | FAQ | More

## 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.