Share via


error_code::operator!=

Tests for inequality between error_code objects.

bool operator!=(const error_code& _Right) const;

Parameters

Parameter

Description

_Right

The object to be tested for inequality.

Return Value

true if the error_code object is not equal to the error_code object passed in _Right; otherwise false.

Remarks

The member operator returns !(*this == _Right).

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

error_code Class