std::error_code Chusov::make_error_code | ( | chsvlib_error | err | ) |
Creates and returns an error code object in the form of the standard std::error_code class based on the specified value of the chsvlib_error enumeration type. .
[in] | err | is a value of the specified integral error code of the chsvlib_error type to be translated to the standard error_code object. The correct function is chosen internally by an implementation of the system_error class based on the parameter type. The choice is made by using an ADL mechanism. |