y3c-stl 0.4.0
Friendly C++ STL wrapper with automatic stacktrace
|
example output:
100y3c-stl terminated: undefined behavior detected (ub_access_deleted)at cast from y3c::wrap<int&> to reference: attempted to access the deleted value.Stack trace (most recent call first):#0 0x0000000000004722 in main at /home/runner/work/y3c-stl/y3c-stl/build/../examples/shared_ptr-ref.cc:9:187: std::cout << ref << std::endl;8: a.reset();9: std::cout << ref << std::endl;10: }#1 0x0000000000029d8f at /lib/x86_64-linux-gnu/libc.so.6#2 0x0000000000029e3f in __libc_start_main at /lib/x86_64-linux-gnu/libc.so.6#3 0x00000000000045a4 in _start at /home/runner/work/y3c-stl/y3c-stl/build/examples/y3c-example-shared_ptr-refDefinition array.h:8