y3c-stl 0.3.3
Friendly C++ STL wrapper with automatic stacktrace
|
example output:
y3c-stl terminated: undefined behavior detected (ub_out_of_range)at y3c::wrap<int*>::operator*(): attempted to access index 10, that is outside the bounds of size 5.Stack trace (most recent call first):#0 0x0000561453dd8640 in main at /home/runner/work/y3c-stl/y3c-stl/build/../examples/wrap_array-ptr.cc:7:55: y3c::ptr<int> p = a;6: p += 10;7: *p = 5;8: }Definition array.h:8