For example, both of these return the 3rd element of a std::vector:
auto val1 = vec[3]; // no bounds checking auto val2 = vec.at(3); // bounds checking