absl::operator>

Compares two spans lexicographically.

Synopsis

Declared in <absl/types/span.h>

template<typename T>
constexpr
bool
operator>(
    Span<T> a,
    Span<T> b);

Return Value

true if a is lexicographically greater than b.

Parameters

NameDescription
aThe left operand.
bThe right operand.