Compare overloads

Synopses

Declared in <absl/strings/cord.h>

Compares 'this' Cord with rhs.

int
Compare(std::string_view rhs) const;

Compares 'this' Cord with another Cord.

int
Compare(Cord const& rhs) const;

Return Value

  • ‐1, 0, or 1 as described above.

  • ‐1, 0, or 1 for less than, equal, or greater than.

Parameters

Name

Description

rhs

The string data to compare against.

Created with MrDocs