| Index: include/new
|
| diff --git a/include/new b/include/new
|
| index d2b2ae648b48952a23db41cf38ae04261f5eee01..0ec1ff21951f4e24205018367acd194624724fcd 100644
|
| --- a/include/new
|
| +++ b/include/new
|
| @@ -120,6 +120,8 @@ typedef void (*new_handler)();
|
| _LIBCPP_FUNC_VIS new_handler set_new_handler(new_handler) _NOEXCEPT;
|
| _LIBCPP_FUNC_VIS new_handler get_new_handler() _NOEXCEPT;
|
|
|
| +struct _LIBCPP_TYPE_VIS new_tag { const char* value; };
|
| +
|
| } // std
|
|
|
| #if defined(_WIN32) && !defined(cxx_EXPORTS)
|
| @@ -133,6 +135,11 @@ _LIBCPP_NEW_DELETE_VIS void* operator new(std::size_t __sz)
|
| throw(std::bad_alloc)
|
| #endif
|
| ;
|
| +_LIBCPP_NEW_DELETE_VIS void* operator new(std::size_t __sz, std::new_tag __tag)
|
| +#if !__has_feature(cxx_noexcept)
|
| + throw(std::bad_alloc)
|
| +#endif
|
| +;
|
| _LIBCPP_NEW_DELETE_VIS void* operator new(std::size_t __sz, const std::nothrow_t&) _NOEXCEPT _NOALIAS;
|
| _LIBCPP_NEW_DELETE_VIS void operator delete(void* __p) _NOEXCEPT;
|
| _LIBCPP_NEW_DELETE_VIS void operator delete(void* __p, const std::nothrow_t&) _NOEXCEPT;
|
|
|