absl::operator<=>

Three-way compares two Cords.

Synopsis

Declared in <absl/strings/cord.h>

std::strong_ordering
operator<=>(
    Cord const& x,
    Cord const& y);

NOTE

This function is a hidden friend of Cord, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

The ordering of x relative to y.

Parameters

NameDescription
xThe left-hand Cord.
yThe right-hand Cord.