StartsWith overloads

Synopses

Declared in <absl/strings/cord.h>

Determines whether the Cord starts with the passed string data rhs.

bool
StartsWith(std::string_view rhs) const;

Determines whether the Cord starts with the passed Cord rhs.

bool
StartsWith(Cord const& rhs) const;

Return Value

true if the Cord starts with rhs.

Parameters

Name

Description

rhs

The prefix string to test for.

Created with MrDocs