#if !defined(BAD_APPLE_OS_NEW_INCLUDED) #define BAD_APPLE_OS_NEW_INCLUDED #include namespace std { class bad_alloc : public std::exception { public: bad_alloc() noexcept = default; bad_alloc(const bad_alloc&) noexcept = default; const char * what() const noexcept override; }; } #endif // !defined(BAD_APPLE_OS_NEW_INCLUDED)