Lines Matching refs:const
26 error_category(const error_category&) = delete;
27 error_category& operator=(const error_category&) = delete;
29 virtual const char* name() const noexcept = 0;
30 virtual error_condition default_error_condition(int ev) const noexcept;
31 virtual bool equivalent(int code, const error_condition& condition) const noexcept;
32 virtual bool equivalent(const error_code& code, int condition) const noexcept;
33 virtual string message(int ev) const = 0;
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;
71 int value() const noexcept;
72 const error_category& category() const noexcept;
73 error_condition default_error_condition() const noexcept;
74 string message() const;
75 explicit operator bool() const noexcept;
79 bool operator<(const error_code& lhs, const error_code& rhs) noexcept;
82 operator<<(basic_ostream<charT,traits>& os, const error_code& ec);
89 error_condition(int val, const error_category& cat) noexcept;
94 void assign(int val, const error_category& cat) noexcept;
100 int value() const noexcept;
101 const error_category& category() const noexcept;
102 string message() const noexcept;
103 explicit operator bool() const noexcept;
106 bool operator<(const error_condition& lhs, const error_condition& rhs) noexcept;
112 system_error(error_code ec, const string& what_arg);
113 system_error(error_code ec, const char* what_arg);
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);
119 const error_code& code() const noexcept;
120 const char* what() const noexcept;
130 bool operator==(const error_code& lhs, const error_code& rhs) noexcept;
131 bool operator==(const error_code& lhs, const error_condition& rhs) noexcept;
132 bool operator==(const error_condition& lhs, const error_code& rhs) noexcept;
133 bool operator==(const error_condition& lhs, const error_condition& rhs) noexcept;
134 bool operator!=(const error_code& lhs, const error_code& rhs) noexcept;
135 bool operator!=(const error_code& lhs, const error_condition& rhs) noexcept;
136 bool operator!=(const error_condition& lhs, const error_code& rhs) noexcept;
137 bool operator!=(const error_condition& lhs, const error_condition& rhs) noexcept;
210 error_category(const error_category&);// = delete;
211 error_category& operator=(const error_category&);// = delete;
214 virtual const char* name() const _NOEXCEPT = 0;
215 virtual error_condition default_error_condition(int __ev) const _NOEXCEPT;
216 virtual bool equivalent(int __code, const error_condition& __condition) const _NOEXCEPT;
217 virtual bool equivalent(const error_code& __code, int __condition) const _NOEXCEPT;
218 virtual string message(int __ev) const = 0;
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;}
236 virtual string message(int ev) const;
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
286 int value() const _NOEXCEPT {return __val_;}
289 const error_category& category() const _NOEXCEPT {return *__cat_;}
290 string message() const;
294 operator bool() const _NOEXCEPT {return __val_ != 0;}
306 operator<(const error_condition& __x, const error_condition& __y) _NOEXCEPT
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
358 int value() const _NOEXCEPT {return __val_;}
361 const error_category& category() const _NOEXCEPT {return *__cat_;}
364 error_condition default_error_condition() const _NOEXCEPT
367 string message() const;
371 operator bool() const _NOEXCEPT {return __val_ != 0;}
383 operator<(const error_code& __x, const error_code& __y) _NOEXCEPT
391 operator==(const error_code& __x, const error_code& __y) _NOEXCEPT
398 operator==(const error_code& __x, const error_condition& __y) _NOEXCEPT
406 operator==(const error_condition& __x, const error_code& __y) _NOEXCEPT
413 operator==(const error_condition& __x, const error_condition& __y) _NOEXCEPT
420 operator!=(const error_code& __x, const error_code& __y) _NOEXCEPT
425 operator!=(const error_code& __x, const error_condition& __y) _NOEXCEPT
430 operator!=(const error_condition& __x, const error_code& __y) _NOEXCEPT
435 operator!=(const error_condition& __x, const error_condition& __y) _NOEXCEPT
443 size_t operator()(const error_code& __ec) const _NOEXCEPT
454 size_t operator()(const error_condition& __ec) const _NOEXCEPT
467 system_error(error_code __ec, const string& __what_arg);
468 system_error(error_code __ec, const char* __what_arg);
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);
476 const error_code& code() const _NOEXCEPT {return __ec_;}
479 static string __init(const error_code&, string);
483 void __throw_system_error(int ev, const char* what_arg);