absl::Cord::Contains

Contains overloads

Synopses

Declared in <absl/strings/cord.h>

Determines whether the Cord contains the passed string data rhs.

bool
Contains(std::string_view rhs) const;
» more...

Determines whether the Cord contains the passed Cord rhs.

bool
Contains(Cord const& rhs) const;
» more...

Return Value

true if the Cord contains rhs.

Parameters

NameDescription
rhsThe string to search for.