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
No. The bounds-checking of std::vector::at is specified by the standard, and there is no standard-conforming C++ implementation that can deviate from that.
std::vector::at