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::array<int, 5>::operator[](): attempted to access index 100, that is outside the bounds of size 5.Stack trace (most recent call first):#0 0x000055bd6cde5618 in main at /home/runner/work/y3c-stl/y3c-stl/build/../examples/array-operator.cc:5:143: int main() {4: y3c::array<int, 5> a;5: a[100] = 42;6: }Definition array.h:8