diff options
Diffstat (limited to 'stdexcept.cc')
| -rw-r--r-- | stdexcept.cc | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/stdexcept.cc b/stdexcept.cc index c1cea39f6aa6..22c6930dca6b 100644 --- a/stdexcept.cc +++ b/stdexcept.cc @@ -31,66 +31,66 @@ namespace std { -exception::exception() throw() {} +exception::exception() _LIBCXXRT_NOEXCEPT {} exception::~exception() {} -exception::exception(const exception&) throw() {} -exception& exception::operator=(const exception&) throw() +exception::exception(const exception&) _LIBCXXRT_NOEXCEPT {} +exception& exception::operator=(const exception&) _LIBCXXRT_NOEXCEPT { return *this; } -const char* exception::what() const throw() +const char* exception::what() const _LIBCXXRT_NOEXCEPT { return "std::exception"; } -bad_alloc::bad_alloc() throw() {} +bad_alloc::bad_alloc() _LIBCXXRT_NOEXCEPT {} bad_alloc::~bad_alloc() {} -bad_alloc::bad_alloc(const bad_alloc&) throw() {} -bad_alloc& bad_alloc::operator=(const bad_alloc&) throw() +bad_alloc::bad_alloc(const bad_alloc&) _LIBCXXRT_NOEXCEPT {} +bad_alloc& bad_alloc::operator=(const bad_alloc&) _LIBCXXRT_NOEXCEPT { return *this; } -const char* bad_alloc::what() const throw() +const char* bad_alloc::what() const _LIBCXXRT_NOEXCEPT { return "cxxrt::bad_alloc"; } -bad_cast::bad_cast() throw() {} +bad_cast::bad_cast() _LIBCXXRT_NOEXCEPT {} bad_cast::~bad_cast() {} -bad_cast::bad_cast(const bad_cast&) throw() {} -bad_cast& bad_cast::operator=(const bad_cast&) throw() +bad_cast::bad_cast(const bad_cast&) _LIBCXXRT_NOEXCEPT {} +bad_cast& bad_cast::operator=(const bad_cast&) _LIBCXXRT_NOEXCEPT { return *this; } -const char* bad_cast::what() const throw() +const char* bad_cast::what() const _LIBCXXRT_NOEXCEPT { return "std::bad_cast"; } -bad_typeid::bad_typeid() throw() {} +bad_typeid::bad_typeid() _LIBCXXRT_NOEXCEPT {} bad_typeid::~bad_typeid() {} -bad_typeid::bad_typeid(const bad_typeid &__rhs) throw() {} -bad_typeid& bad_typeid::operator=(const bad_typeid &__rhs) throw() +bad_typeid::bad_typeid(const bad_typeid &__rhs) _LIBCXXRT_NOEXCEPT {} +bad_typeid& bad_typeid::operator=(const bad_typeid &__rhs) _LIBCXXRT_NOEXCEPT { return *this; } -const char* bad_typeid::what() const throw() +const char* bad_typeid::what() const _LIBCXXRT_NOEXCEPT { return "std::bad_typeid"; } -bad_array_new_length::bad_array_new_length() throw() {} +bad_array_new_length::bad_array_new_length() _LIBCXXRT_NOEXCEPT {} bad_array_new_length::~bad_array_new_length() {} -bad_array_new_length::bad_array_new_length(const bad_array_new_length&) throw() {} -bad_array_new_length& bad_array_new_length::operator=(const bad_array_new_length&) throw() +bad_array_new_length::bad_array_new_length(const bad_array_new_length&) _LIBCXXRT_NOEXCEPT {} +bad_array_new_length& bad_array_new_length::operator=(const bad_array_new_length&) _LIBCXXRT_NOEXCEPT { return *this; } -const char* bad_array_new_length::what() const throw() +const char* bad_array_new_length::what() const _LIBCXXRT_NOEXCEPT { return "std::bad_array_new_length"; } |
