Compares lhs and rhs over the first size_to_compare bytes.

Synopsis

Declared in <absl/strings/cord.h>

ResultType
GenericCompare(
    Cord const& lhs,
    RHS const& rhs,
    size_t size_to_compare);

Return Value

The comparison result as ResultType.

Template Parameters

Name

Description

ResultType

The result type of the comparison.

RHS

The right‐hand operand type.

Parameters

Name

Description

lhs

The left‐hand Cord.

rhs

The right‐hand operand.

size_to_compare

The number of bytes to compare.

Created with MrDocs