absl::operator<=>

Three-way compares a Cord with string data.

Synopsis

Declared in <absl/strings/cord.h>

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

Return Value

The ordering of lhs relative to rhs.

Parameters

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