Condividi tramite


operator== (<system_error>)

Tests if the object on the left side of the operator is equal to the object on the right side.

bool operator==(const error_code& _Left, const error_condition& _Right);
bool operator==(const error_condition& _Left, const error_code& _Right);

Parameters

Parameter

Description

_Left

The object to be tested for equality.

_Right

The object to be tested for equality.

Return Value

true if the objects are equal; false if objects are not equal.

Remarks

This function returns _Left.category() == _Right.category() && _Left.value() == _Right.value().

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

<system_error>

Other Resources

<system_error> Members