[#absl-GenericCompare] = xref:absl.adoc[absl]::GenericCompare :relfileprefix: ../ :mrdocs: Compares `lhs` and `rhs` over the first `size_to_compare` bytes. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ResultType GenericCompare( xref:absl/Cord.adoc[Cord] const& lhs, RHS const& rhs, size_t size_to_compare); ---- == Return Value The comparison result as `ResultType`. == Template Parameters [cols="1,4"] |=== | Name| Description | *ResultType* | The result type of the comparison. | *RHS* | The right‐hand operand type. |=== == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left‐hand Cord. | *rhs* | The right‐hand operand. | *size_to_compare* | The number of bytes to compare. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#