20 lines
354 B
Plaintext
20 lines
354 B
Plaintext
|
|
#if !defined(BAD_APPLE_OS_NEW_INCLUDED)
|
|
#define BAD_APPLE_OS_NEW_INCLUDED
|
|
|
|
#include <exception>
|
|
|
|
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)
|