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);
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 lhs relative to rhs.

Parameters

Name

Description

lhs

The left‐hand Cord.

rhs

The right‐hand string data.

Created with MrDocs