Howard Hinnant | bc8d3f9 | 2010-05-11 19:42:16 +0000 | [diff] [blame^] | 1 | //===--------------------------- new.cpp ----------------------------------===// |
| 2 | // |
| 3 | // ÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊÊThe LLVM Compiler Infrastructure |
| 4 | // |
| 5 | // This file is distributed under the University of Illinois Open Source |
| 6 | // License. See LICENSE.TXT for details. |
| 7 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | |
| 10 | #include "new" |
| 11 | |
| 12 | namespace std |
| 13 | { |
| 14 | |
| 15 | bad_array_new_length::~bad_array_new_length() throw() |
| 16 | { |
| 17 | } |
| 18 | |
| 19 | const char* |
| 20 | bad_array_new_length::what() const throw() |
| 21 | { |
| 22 | return "bad_array_new_length"; |
| 23 | } |
| 24 | |
| 25 | void |
| 26 | __throw_bad_alloc() |
| 27 | { |
| 28 | throw bad_alloc(); |
| 29 | } |
| 30 | |
| 31 | } // std |