std::bad_alloc needs an include <new>