Deleted: comparing a bare value with an Expected is not allowed.

Synopsis

Declared in <folly/Expected.h>

template<
    class Value,
    class Error>
bool
operator<=(
    Value const& other,
    Expected<Value, Error> const& exp) = delete;

Return Value

Never returns; this overload is deleted.

Parameters

Name

Description

other

The value operand.

exp

The Expected operand.

Created with MrDocs