A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/error_condition below:

class

<system_error>

std::error_condition

Error condition

Objects of this type hold a condition value associated with a category.

Objects of this type describe errors in a generic way so that they may be portable across different systems. This is in contrast with error_code objects, that may contain system-specific information.

Because error_condition objects can be compared with error_code objects directly by using relational operators, error_condition objects are generally used to check whether a particular error_code obtained from the system matches a specific error condition no matter the system.

The categories associated with the error_condition and the error_code define the equivalences between them.



Member functions
(constructor)
Construct error_condition (public member function)
assign
Assign error condition (public member function)
operator=
Assign error condition (public member function)
clear
Clear error condition (public member function)
value
Error condition value (public member function)
category
Get category (public member function)
message
Get message (public member function)
operator bool
Convert to bool (public member function)

Non-member function overloads
relational operators (error_condition)
Relational operators (function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4