Lines Matching refs:bad_alloc
19 class bad_alloc
23 bad_alloc() noexcept;
24 bad_alloc(const bad_alloc&) noexcept;
25 bad_alloc& operator=(const bad_alloc&) noexcept;
29 class bad_array_new_length : public bad_alloc // C++14
129 class _LIBCPP_EXCEPTION_ABI bad_alloc
133 bad_alloc() _NOEXCEPT;
134 ~bad_alloc() _NOEXCEPT override;
139 : public bad_alloc
155 class bad_alloc : public exception {
157 bad_alloc() noexcept : exception("bad allocation") {}
162 bad_alloc(char const* const __message) noexcept : exception(__message) {}
165 class bad_array_new_length : public bad_alloc {
167 bad_array_new_length() noexcept : bad_alloc("bad array new length") {}
204 #define _THROW_BAD_ALLOC throw(std::bad_alloc)