absl::operator<

Compares a container and a span lexicographically.

Synopsis

Declared in <absl/types/span.h>

template<
    typename T,
    typename U,
    typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>>
constexpr
bool
operator<(
    U const& a,
    Span<T> b);

Return Value

true if a is lexicographically less than b.

Parameters

NameDescription
aThe left operand.
bThe right operand.