folly::operator<=

Deleted to forbid ordering an Optional against a bare value.

Synopsis

Declared in <folly/Optional.h>

template<class V>
bool
operator<=(
    Optional<V> const& a,
    V const& other) = delete;

Return Value

true if the left object is less than or equal to the right object, false otherwise

Parameters

NameDescription
aThe left operand
otherThe right operand