3 ms·
FYI, with libstdc++ (GCC) you can define _GLIBCXX_DEBUG and get a lot of runtime checks too, including bounds checking on vectors. http://gcc.gnu.org/onlinedoc
by sltkr 13y ago
FYI, with libstdc++ (GCC) you can define _GLIBCXX_DEBUG and get a lot of runtime checks too, including bounds checking on vectors.
http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch30s04.html http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch30s...