Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Casts a variable of type error_code.
explicit operator bool() const;
Return Value
The Boolean value of the error_code object.
Remarks
The operator returns a value convertible to true only if value is not equal to zero. The return type is convertible only to bool, not to void * or other known scalar types.
Requirements
Header: <system_error>
Namespace: std