.TH "std::error_condition" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::error_condition .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "template<\fBtypename\fP \fB_ErrorConditionEnum\fP , \fBtypename\fP = typename enable_if::value>::type> \fBerror_condition\fP (\fB_ErrorConditionEnum\fP __e) \fBnoexcept\fP" .br .ti -1c .RI "\fBerror_condition\fP (int \fB__v\fP, \fBconst\fP \fBerror_category\fP &\fB__cat\fP) \fBnoexcept\fP" .br .ti -1c .RI "\fBvoid\fP \fBassign\fP (int \fB__v\fP, \fBconst\fP \fBerror_category\fP &\fB__cat\fP) \fBnoexcept\fP" .br .ti -1c .RI "\fBconst\fP \fBerror_category\fP & \fBcategory\fP () \fBconst\fP \fBnoexcept\fP" .br .ti -1c .RI "\fBvoid\fP \fBclear\fP () \fBnoexcept\fP" .br .ti -1c .RI "_GLIBCXX_DEFAULT_ABI_TAG \fBstring\fP \fBmessage\fP () \fBconst\fP" .br .ti -1c .RI "\fBoperator bool\fP () \fBconst\fP \fBnoexcept\fP" .br .ti -1c .RI "template<\fBtypename\fP \fB_ErrorConditionEnum\fP > \fBenable_if\fP< \fBis_error_condition_enum\fP< \fB_ErrorConditionEnum\fP >::value, \fBerror_condition\fP & >::type \fBoperator=\fP (\fB_ErrorConditionEnum\fP __e) \fBnoexcept\fP" .br .ti -1c .RI "int \fBvalue\fP () \fBconst\fP \fBnoexcept\fP" .br .in -1c .SS "Related Symbols" (Note that these are not member symbols\&.) .in +1c .ti -1c .RI "\fBerror_condition\fP \fBmake_error_condition\fP (errc __e) \fBnoexcept\fP" .br .RI "Create an \fCerror_condition\fP representing a standard \fCerrc\fP condition\&. " .ti -1c .RI "bool \fBoperator!=\fP (\fBconst\fP \fBerror_code\fP &\fB__lhs\fP, \fBconst\fP \fBerror_condition\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .ti -1c .RI "bool \fBoperator!=\fP (\fBconst\fP \fBerror_condition\fP &\fB__lhs\fP, \fBconst\fP \fBerror_code\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .ti -1c .RI "bool \fBoperator!=\fP (\fBconst\fP \fBerror_condition\fP &\fB__lhs\fP, \fBconst\fP \fBerror_condition\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .ti -1c .RI "bool \fBoperator<\fP (\fBconst\fP \fBerror_condition\fP &\fB__lhs\fP, \fBconst\fP \fBerror_condition\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .RI "Define an ordering for error_condition objects\&. " .ti -1c .RI "bool \fBoperator==\fP (\fBconst\fP \fBerror_code\fP &\fB__lhs\fP, \fBconst\fP \fBerror_condition\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .ti -1c .RI "bool \fBoperator==\fP (\fBconst\fP \fBerror_condition\fP &\fB__lhs\fP, \fBconst\fP \fBerror_code\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .ti -1c .RI "bool \fBoperator==\fP (\fBconst\fP \fBerror_condition\fP &\fB__lhs\fP, \fBconst\fP \fBerror_condition\fP &\fB__rhs\fP) \fBnoexcept\fP" .br .in -1c .SH "Detailed Description" .PP Class error_condition .PP This class represents error conditions that may be visible at an API boundary\&. Different \fCerror_code\fP values that can occur within a library or module might map to the same \fCerror_condition\fP\&. .PP An \fCerror_condition\fP represents something that the program can test for, and subsequently take appropriate action\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.