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

Name

Description

lhs

The left‐hand string data.

rhs

The right‐hand Cord.

Created with MrDocs