Lines Matching refs:noexcept
18 unexpected_handler set_unexpected(unexpected_handler func) noexcept {
22 unexpected_handler get_unexpected() noexcept { return __libcpp_atomic_load(&__unexpected_handler); }
30 terminate_handler set_terminate(terminate_handler func) noexcept {
34 terminate_handler get_terminate() noexcept { return __libcpp_atomic_load(&__terminate_handler); }
36 _LIBCPP_NORETURN void terminate() noexcept {
53 bool uncaught_exception() noexcept { return uncaught_exceptions() > 0; }
55 int uncaught_exceptions() noexcept {
61 exception::~exception() noexcept {}
63 const char* exception::what() const noexcept { return "std::exception"; }
65 bad_exception::~bad_exception() noexcept {}
67 const char* bad_exception::what() const noexcept { return "std::bad_exception"; }
69 bad_alloc::bad_alloc() noexcept {}
71 bad_alloc::~bad_alloc() noexcept {}
73 const char* bad_alloc::what() const noexcept { return "std::bad_alloc"; }
75 bad_array_new_length::bad_array_new_length() noexcept {}
77 bad_array_new_length::~bad_array_new_length() noexcept {}
79 const char* bad_array_new_length::what() const noexcept { return "bad_array_new_length"; }
81 bad_cast::bad_cast() noexcept {}
83 bad_typeid::bad_typeid() noexcept {}
85 bad_cast::~bad_cast() noexcept {}
87 const char* bad_cast::what() const noexcept { return "std::bad_cast"; }
89 bad_typeid::~bad_typeid() noexcept {}
91 const char* bad_typeid::what() const noexcept { return "std::bad_typeid"; }