Compartir a través de


error_condition::operator bool

Casts a variable of type error_condition.

explicit operator bool() const;

Return Value

The Boolean value of the error_condition 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

See Also

Reference

error_condition Class