1 // -*- C++ -*- 2 //===----------------------------------------------------------------------===// 3 // 4 // The LLVM Compiler Infrastructure 5 // 6 // This file is dual licensed under the MIT and the University of Illinois Open 7 // Source Licenses. See LICENSE.TXT for details. 8 // 9 //===----------------------------------------------------------------------===// 10 11 #ifndef __GLIBCXX__ 12 #error header can only be used when targeting libstdc++ or libsupc++ 13 #endif 14 15 namespace std { 16 17 bad_alloc::bad_alloc() _NOEXCEPT 18 { 19 } 20 21 bad_array_new_length::bad_array_new_length() _NOEXCEPT 22 { 23 } 24 25 bad_array_length::bad_array_length() _NOEXCEPT 26 { 27 } 28 29 30 bad_cast::bad_cast() _NOEXCEPT 31 { 32 } 33 34 bad_typeid::bad_typeid() _NOEXCEPT 35 { 36 } 37 38 } // namespace std 39