Searched refs:length_error (Results 1 – 14 of 14) 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()
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;110 class _LIBCPP_EXCEPTION_ABI length_error114 _LIBCPP_INLINE_VISIBILITY explicit length_error(const string& __s) : logic_error(__s) {}115 _LIBCPP_INLINE_VISIBILITY explicit length_error(const char* __s) : logic_error(__s) {}117 virtual ~length_error() _NOEXCEPT;
295 throw length_error("vector");297 assert(!"vector length_error");834 // throws length_error if __n > max_size()2341 // throws length_error if __n > max_size()
1013 throw length_error("basic_string");1015 assert(!"basic_string length_error");
877 throw length_error("deque");
29 catch (std::length_error&) in test()
45 catch (std::length_error&) in test()
187 length_error::~length_error() _NOEXCEPT {} in ~length_error()
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()