Don't assume an implicit error_code -> bool operator.