8 Apr
2013
8 Apr
'13
4:28 p.m.
On Mon, Apr 8, 2013 at 6:03 PM, Petr Machata
That's how std::vector behaves. If you want checking, you are supposed to use the "at" method.
I think he meant to have the assert which would be active only in debug mode. std::vector::at() have the check in all modes. Joel Lamotte