Checks if the specified std::error_code object corresponds to the specified error condition integral code. The error condition is to be defined by the chsvlib_general_category error category.
- Parameters
-
code | is an object of type error_code which is checked for correspondence to the specified error condition. The code is supposed to be based on the values of the chsvlib_error enumeration, which are defined in the chsvlib_general_category category. |
valcond | is an integral code value specifying the error condition to be checked for correspondence to the error code object. |
- Returns
- The function returns
true
if the error code is equivalent to the error condition object, or false
otherwise.