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

‍example output:

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