y3c-stl 0.3.3
Friendly C++ STL wrapper with automatic stacktrace
Loading...
Searching...
No Matches
terminate-throw-exception.cc

‍example output:

y3c-stl terminated: exception of type std::exception thrown, but that's not from y3c-stl.
"error"
The following stack trace may be inaccurate.
Stack trace (most recent call first):
#0 0x000055fe6923a233 in main at /home/runner/work/y3c-stl/y3c-stl/build/../examples/terminate-throw-exception.cc:6:37
4: int main(){
5: y3c::link();
6: throw std::runtime_error("error");
7: }
Definition array.h:8
#include <y3c/wrap>
#include <stdexcept>
int main(){
throw std::runtime_error("error");
}
void link()
Definition terminate.h:167