y3c-stl 0.3.3
Friendly C++ STL wrapper with automatic stacktrace
|
example output:
y3c-stl terminated: terminate() called, but that's not from y3c-stl and current_exception information is empty.The following stack trace may be inaccurate.Stack trace (most recent call first):#0 0x000055c23425d175 in func3() at /home/runner/work/y3c-stl/y3c-stl/build/../examples/terminate-direct.cc:4:302: #include <exception>3:4: void func3() { std::terminate(); }5: void func2() { func3(); }6: void func1() { func2(); }#1 0x000055c23425d182 in func2() at /home/runner/work/y3c-stl/y3c-stl/build/../examples/terminate-direct.cc:5:214: void func3() { std::terminate(); }5: void func2() { func3(); }6: void func1() { func2(); }7: int main() {#2 0x000055c23425d192 in func1() at /home/runner/work/y3c-stl/y3c-stl/build/../examples/terminate-direct.cc:6:214: void func3() { std::terminate(); }5: void func2() { func3(); }6: void func1() { func2(); }7: int main() {8: y3c::link();#3 0x000055c23425d1a7 in main at /home/runner/work/y3c-stl/y3c-stl/build/../examples/terminate-direct.cc:9:107: int main() {8: y3c::link();9: func1();10: }Definition array.h:8