Bound checking []


I am running OSX Mavericks and I can't find a way to get bound checking on the [] operator for std::array and std::vector. I don't want to use .at as I am using bound checking in debug mode but not in release mode.

Both the GNU libstdc++ and Microsoft STL implementation provide a way to get bound checking with this operator. Can we expect to get one in libc++ ?

Best regards,