absl::Cord::char_begin

Returns an iterator to the first character of the Cord.

Synopsis

Declared in <absl/strings/cord.h>

Cord::CharIterator
char_begin() const;

Description

Generally, prefer using Cord::Chars() within a range-based for loop for iterating over the chunks of a Cord. This method may be useful for getting a CharIterator where range-based for-loops may not be available.

Return Value

An iterator to the first character of the Cord.