Returns the distance between first and last, as if std::distance(first, last) was called.

Synopsis

Declared in <absl/strings/cord.h>

static
ptrdiff_t
Distance(
    CharIterator const& first,
    CharIterator const& last);

Return Value

The number of characters between first and last.

Parameters

Name

Description

first

The starting iterator.

last

The ending iterator.

Created with MrDocs