From 1b1d56acc5281d0201fdbe8539012a2dbf09bc8f Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Fri, 9 May 2014 21:37:30 +0800 Subject: Refresh 64-bit headers/libs; upgrade libc++ to r207307 to bionic: adfc007dbf936bd021d79ba2d2c360a3cfc77be9 5/19 2014 Change-Id: Id9994bab1ab8240853890c108e8aaa3ebac47fa8 --- 9/sources/cxx-stl/EH/gabi++/include/new | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '9/sources/cxx-stl/EH/gabi++/include/new') diff --git a/9/sources/cxx-stl/EH/gabi++/include/new b/9/sources/cxx-stl/EH/gabi++/include/new index 1643e01..935731d 100644 --- a/9/sources/cxx-stl/EH/gabi++/include/new +++ b/9/sources/cxx-stl/EH/gabi++/include/new @@ -48,6 +48,23 @@ public: virtual const char* what() const throw(); }; +class bad_array_new_length : public bad_alloc { +public: + bad_array_new_length() throw(); + virtual ~bad_array_new_length() throw(); + virtual const char* what() const throw(); +}; + +#if __cplusplus > 201103L +// C++14 stuff +class bad_array_length : public bad_alloc { +public: + bad_array_length() throw(); + virtual ~bad_array_length() throw(); + virtual const char* what() const throw(); +}; +#endif + typedef void (*new_handler)(); new_handler set_new_handler(new_handler) throw(); new_handler get_new_handler() throw(); -- cgit v1.1