absl::operator==

Compares string data with a Cord for equality.

Synopsis

Declared in <absl/strings/cord.h>

bool
operator==(
    std::string_view x,
    Cord const& y);

Return Value

true if the contents are equal.

Parameters

NameDescription
xThe left-hand string data.
yThe right-hand Cord.