Compares 'this' Cord with rhs.
Declared in <absl/strings/cord.h>
int
Compare(std::string_view rhs) const;
This function and its relatives treat Cords as sequences of unsigned bytes. The comparison is a straightforward lexicographic comparison. Cord::Compare() returns values as follows:
-1 'this' Cord is smaller 0 two Cords are equal 1 'this' Cord is larger
-1, 0, or 1 as described above.
| Name | Description |
|---|---|
| rhs | The string data to compare against. |