
8 Apr
2013
8 Apr
'13
4:03 p.m.
Stefan Strasser
it's because of out-of-bounds vector access. is it intentional that container::vector::operator[] doesn't assert n < size()? would have caught this bug.
That's how std::vector behaves. If you want checking, you are supposed to use the "at" method. Thanks, PM