OLD | NEW |
(Empty) | |
| 1 //===----------------------------- typeinfo.cpp ---------------------------===// |
| 2 // |
| 3 // The LLVM Compiler Infrastructure |
| 4 // |
| 5 // This file is dual licensed under the MIT and the University of Illinois Open |
| 6 // Source Licenses. See LICENSE.TXT for details. |
| 7 // |
| 8 //===----------------------------------------------------------------------===// |
| 9 |
| 10 #include <typeinfo> |
| 11 |
| 12 namespace std |
| 13 { |
| 14 |
| 15 // type_info |
| 16 |
| 17 type_info::~type_info() |
| 18 { |
| 19 } |
| 20 |
| 21 // bad_cast |
| 22 |
| 23 bad_cast::bad_cast() _NOEXCEPT |
| 24 { |
| 25 } |
| 26 |
| 27 bad_cast::~bad_cast() _NOEXCEPT |
| 28 { |
| 29 } |
| 30 |
| 31 const char* |
| 32 bad_cast::what() const _NOEXCEPT |
| 33 { |
| 34 return "std::bad_cast"; |
| 35 } |
| 36 |
| 37 // bad_typeid |
| 38 |
| 39 bad_typeid::bad_typeid() _NOEXCEPT |
| 40 { |
| 41 } |
| 42 |
| 43 bad_typeid::~bad_typeid() _NOEXCEPT |
| 44 { |
| 45 } |
| 46 |
| 47 const char* |
| 48 bad_typeid::what() const _NOEXCEPT |
| 49 { |
| 50 return "std::bad_typeid"; |
| 51 } |
| 52 |
| 53 } // std |
OLD | NEW |