folly::operator<=

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

Synopsis

Declared in <folly/Expected.h>

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

Return Value

Never returns; this overload is deleted.

Parameters

NameDescription
expThe Expected operand.
otherThe value operand.