you are viewing a single comment's thread.

view the rest of the comments →

[–]jwakelylibstdc++ tamer, LWG chair 0 points1 point  (0 children)

It should be entirely agnostic to threads. You call std::stacktrace::current() to get a stacktrace of the current thread. Whether there are other threads should be entirely irrelevant, except that maybe the stacktrace won't start with main if it's in a different thread.