Cay Horstmann implemented an enhancement to STL called "Safe STL". Look at http://www.mathcs.sjsu.edu/faculty/horstman/safestl.html for more information.