| 1 | // Copyright Antony Polukhin, 2022-2024. |
|---|---|
| 2 | // |
| 3 | // Distributed under the Boost Software License, Version 1.0. (See |
| 4 | // accompanying file LICENSE_1_0.txt or copy at |
| 5 | // http://www.boost.org/LICENSE_1_0.txt) |
| 6 | |
| 7 | // See https://github.com/boostorg/stacktrace/issues/116 |
| 8 | |
| 9 | #include <boost/stacktrace/stacktrace.hpp> |
| 10 | |
| 11 | #include <iostream> |
| 12 | |
| 13 | int main() { |
| 14 | std::cout << boost::stacktrace::stacktrace() << std::endl; |
| 15 | } |
| 16 |
