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

Name

Description

lhs

The left‐hand Cord.

rhs

The right‐hand string data.

Created with MrDocs