diff options
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 49eaf55..8920393 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 |