The standard containers are all exception safe as far as they are concerned - no container will ever make your program crash just because an exception was thrown at an inopportune moment; nor will any container ever leak memory - and a few methods offer even the strong or nothrow guarantee. You'll have to read the documentation.