List of exceptions thrown by STL container and iterator function calls

Hello,

I want to know if the clear() function from vector container can throw any exceptions. Also can anyone provide a weblink or book reference which contains a list of exceptions thrown by function calls on STL containers and iterators.

Thanks,
Mann
std::vector::clear() will only throw if the objects in the vector throw in their destructors (very bad form).

The site I rely on most for information about the STL is http://www.sgi.com/tech/stl/. It is the most readable reference of the STL I have found.
Topic archived. No new replies allowed.