After std::vector::resize() throws a std::bad_alloc exception, is the original data still valid and accessible in the std::vector object?
Does the answer hold for other allocators, e.g. if boost::interprocess::allocator is used as the allocator, and boost::interprocess::bad_alloc is thrown?