absl::operator==

Compares a Cord with string data for equality.

Synopsis

Declared in <absl/strings/cord.h>

bool
operator==(
    Cord const& lhs,
    std::string_view rhs);

Return Value

true if the contents are equal.

Parameters

NameDescription
lhsThe left-hand Cord.
rhsThe right-hand string data.