diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-12-29 20:29:59 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-12-29 20:29:59 +0000 |
commit | c8c9adf9f575b5543893c29d7f37d94a4ce72e05 (patch) | |
tree | db34b9e47fd1f6dc25df8d5b10c9d2d9906bea5d /stdexcept.h | |
parent | 175e74cef9cc52a239b899d2a0f6e9e84299f0a2 (diff) |
Notes
Diffstat (limited to 'stdexcept.h')
-rw-r--r-- | stdexcept.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/stdexcept.h b/stdexcept.h index 49eaf55c37a2..892039357595 100644 --- a/stdexcept.h +++ b/stdexcept.h @@ -81,6 +81,15 @@ namespace std virtual const char* what() const throw(); }; + class bad_array_new_length: public bad_alloc + { + public: + bad_array_new_length() throw(); + bad_array_new_length(const bad_array_new_length&) throw(); + bad_array_new_length& operator=(const bad_array_new_length&) throw(); + virtual ~bad_array_new_length(); + virtual const char *what() const throw(); + }; } // namespace std |