Orders two Expected values.

Synopsis

Declared in <folly/Expected.h>

template<
    class Value,
    class Error,
    bool FollyRequires1942 = false>
bool
operator<=(
    Expected<Value, Error> const& lhs,
    Expected<Value, Error> const& rhs);

Return Value

true if lhs does not order after rhs.

Parameters

Name

Description

lhs

The left‐hand Expected.

rhs

The right‐hand Expected.

Created with MrDocs