absl::operator<=>

Three-way compares string data with a Cord.

Synopsis

Declared in <absl/strings/cord.h>

std::strong_ordering
operator<=>(
    std::string_view lhs,
    Cord const& rhs);

Return Value

The ordering of lhs relative to rhs.

Parameters

NameDescription
lhsThe left-hand string data.
rhsThe right-hand Cord.