Lines Matching refs:error_category
20 class error_category
23 virtual ~error_category() noexcept;
25 constexpr error_category();
26 error_category(const error_category&) = delete;
27 error_category& operator=(const error_category&) = delete;
35 bool operator==(const error_category& rhs) const noexcept;
36 bool operator!=(const error_category& rhs) const noexcept;
37 bool operator<(const error_category& rhs) const noexcept;
40 const error_category& generic_category() noexcept;
41 const error_category& system_category() noexcept;
60 error_code(int val, const error_category& cat) noexcept;
65 void assign(int val, const error_category& cat) noexcept;
72 const error_category& category() const noexcept;
89 error_condition(int val, const error_category& cat) noexcept;
94 void assign(int val, const error_category& cat) noexcept;
101 const error_category& category() const noexcept;
115 system_error(int ev, const error_category& ecat, const string& what_arg);
116 system_error(int ev, const error_category& ecat, const char* what_arg);
117 system_error(int ev, const error_category& ecat);
193 // class error_category
197 class _LIBCPP_TYPE_VIS error_category
200 virtual ~error_category() _NOEXCEPT;
204 error_category() _NOEXCEPT;
207 _LIBCPP_CONSTEXPR_AFTER_CXX11 error_category() _NOEXCEPT _LIBCPP_DEFAULT
210 error_category(const error_category&);// = delete;
211 error_category& operator=(const error_category&);// = delete;
221 bool operator==(const error_category& __rhs) const _NOEXCEPT {return this == &__rhs;}
224 bool operator!=(const error_category& __rhs) const _NOEXCEPT {return !(*this == __rhs);}
227 bool operator< (const error_category& __rhs) const _NOEXCEPT {return this < &__rhs;}
233 : public error_category
239 _LIBCPP_FUNC_VIS const error_category& generic_category() _NOEXCEPT;
240 _LIBCPP_FUNC_VIS const error_category& system_category() _NOEXCEPT;
245 const error_category* __cat_;
251 error_condition(int __val, const error_category& __cat) _NOEXCEPT
262 void assign(int __val, const error_category& __cat) _NOEXCEPT
289 const error_category& category() const _NOEXCEPT {return *__cat_;}
317 const error_category* __cat_;
323 error_code(int __val, const error_category& __cat) _NOEXCEPT
334 void assign(int __val, const error_category& __cat) _NOEXCEPT
361 const error_category& category() const _NOEXCEPT {return *__cat_;}
470 system_error(int __ev, const error_category& __ecat, const string& __what_arg);
471 system_error(int __ev, const error_category& __ecat, const char* __what_arg);
472 system_error(int __ev, const error_category& __ecat);