mrdocs::operator==

Equality operator

Synopsis

template<class Er>
[[nodiscard]]
constexpr
bool
operator==(
    Unexpected const& x,
    Unexpected<Er> const& y);

This function is a hidden friend of Unexpected, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the objects are equal, false otherwise

The return value should not be discarded.

Parameters

Name

Description

x

The left operand

y

The right operand

Created with MrDocs