absl::Cord::chunk_end

Returns an iterator one increment past the last chunk of the Cord.

Synopsis

Declared in <absl/strings/cord.h>

Cord::ChunkIterator
chunk_end() const;

Description

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

Return Value

An iterator one past the last chunk of the Cord.