| 8 | #include <iostream> |
| 9 | |
| 10 | int main() |
| 11 | { |
| 12 | std::cout << boost::stacktrace::stacktrace() << std::endl; |
| 13 | try { |
| 14 | throw 42; |
| 15 | } catch (...) { |
| 16 | std::cout << "From current excption:\n" << boost::stacktrace::stacktrace::from_current_exception() << std::endl; |
| 17 | } |
| 18 | } |
nothing calls this directly
no test coverage detected