Compares two spans lexicographically.

Synopsis

Declared in <absl/types/span.h>

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

Return Value

true if a is lexicographically greater than b.

Parameters

Name

Description

a

The left operand.

b

The right operand.

Created with MrDocs