[#absl-Cord-Compare-023] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Compare :relfileprefix: ../../ :mrdocs: `Compare` overloads == Synopses Declared in `<absl/strings/cord.h>` Compares 'this' Cord with rhs. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:absl/Cord/Compare-028.adoc[Compare](std::string_view rhs) const; ---- [.small]#xref:absl/Cord/Compare-028.adoc[_» more..._]# Compares 'this' Cord with another Cord. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:absl/Cord/Compare-03.adoc[Compare](xref:absl/Cord.adoc[Cord] const& rhs) const; ---- [.small]#xref:absl/Cord/Compare-03.adoc[_» more..._]# == Return Value * ‐1, 0, or 1 as described above. * ‐1, 0, or 1 for less than, equal, or greater than. == Parameters [cols="1,4"] |=== | Name| Description | *rhs* | The string data to compare against. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#