Searched refs:length_error (Results 1 – 20 of 20) sorted by relevance
20 static_assert((std::is_base_of<std::logic_error, std::length_error>::value), in main()22 static_assert(std::is_polymorphic<std::length_error>::value, in main()26 std::length_error e(msg); in main()28 std::length_error e2(e); in main()35 std::length_error e(msg); in main()37 std::length_error e2(e); in main()
41 length_error::~length_error() _NOEXCEPT {} in ~length_error()
64 class _STLP_CLASS_DECLSPEC length_error : public logic_error {66 length_error(const string& __arg) : logic_error(__arg) {} in length_error() function68 ~length_error() _STLP_NOTHROW_INHERENTLY;
73 { _STLP_THROW_MSG(length_error, __msg); } in __stl_throw_length_error()
23 class length_error;118 class _LIBCPP_EXCEPTION_ABI length_error122 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}123 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}125 virtual ~length_error() _NOEXCEPT;
305 throw length_error("vector");307 assert(!"vector length_error");905 // throws length_error if __n > max_size()2458 // throws length_error if __n > max_size()
1210 throw length_error("basic_string");1212 assert(!"basic_string length_error");
882 throw length_error("deque");
97 length_error::~length_error() _NOEXCEPT {} in ~length_error()
164 length_error::~length_error() _NOEXCEPT {} in ~length_error()
48 catch ( const std::length_error & ) { return ; } in test3()
31 catch (std::length_error&) in test()
47 catch (std::length_error&) in test()
80 length_error::~length_error() _STLP_NOTHROW_INHERENTLY {} in ~length_error()
176 catch (length_error const&) { in constructor()201 catch (length_error const&) { in reserve()
1265 catch( std::length_error const& ex )1268 "std::length_error: %s", ex.what() ); }
1394 $(call gen-test, diagnostics/std.exceptions/length.error/length_error)
1403 $(call gen-test, diagnostics/std.exceptions/length.error/length_error)