Use new(std::nothrow) for allocations.