With stl::vector:
vector v(1); v[0]=1; // No bounds checking v.at(0)=1; // Bounds checking
Is there a way to disable bounds checking
Maybe a better solution is to use [] and use checked implementation of the standard library for debug.
[]