mrdocs::operator==

Equality operator

Synopsis

template<class E2>
constexpr
bool
operator==(
    Expected const& x,
    Unexpected<E2> const& e) noexcept(noexcept(bool(x.error() == e.error())));

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

Return Value

true if the objects are equal, false otherwise

Parameters

Name

Description

x

The left operand

e

The right operand

Created with MrDocs