summaryrefslogtreecommitdiffstats
path: root/9/sources/cxx-stl/EH/gabi++/include/new
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2014-05-09 21:37:30 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2014-05-09 23:42:43 +0800
commit1b1d56acc5281d0201fdbe8539012a2dbf09bc8f (patch)
tree5c6aeb7acb5aa97762a1b97c74e754855455e083 /9/sources/cxx-stl/EH/gabi++/include/new
parent5fd2a238a3a2697a4cde0e4ed2a8b05b3791fb43 (diff)
downloadprebuilts_ndk-1b1d56acc5281d0201fdbe8539012a2dbf09bc8f.zip
prebuilts_ndk-1b1d56acc5281d0201fdbe8539012a2dbf09bc8f.tar.gz
prebuilts_ndk-1b1d56acc5281d0201fdbe8539012a2dbf09bc8f.tar.bz2
Refresh 64-bit headers/libs; upgrade libc++ to r207307
to bionic: adfc007dbf936bd021d79ba2d2c360a3cfc77be9 5/19 2014 Change-Id: Id9994bab1ab8240853890c108e8aaa3ebac47fa8
Diffstat (limited to '9/sources/cxx-stl/EH/gabi++/include/new')
-rw-r--r--9/sources/cxx-stl/EH/gabi++/include/new17
1 files changed, 17 insertions, 0 deletions
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();