4 ms·
It's part of C++23, https://en.cppreference.com/w/cpp/utility/basic_stacktrace https://en.cppreference.com/w/cpp/utility/basic_stacktrace. It's not parent, and
by beached_whale 3y ago
It's part of C++23, https://en.cppreference.com/w/cpp/utility/basic_stacktrace https://en.cppreference.com/w/cpp/utility/basic_stacktrace. It's not parent, and I think I am wrong that that is needed, just the current position in the stack, so assuming the trace isn't empty(), it's like stack_trace::current( )[0]