Same as the preceding overload for the specified string type.

Synopsis

Declared in <bdlb_indexspanstringutil.h>

static
IndexSpan
create(
    bsl::string const& string,
    bsl::string::const_iterator begin,
    IndexSpan::size_type length);

Return Value

an IndexSpan describing the substring at begin of length

Parameters

Name

Description

string

string containing the substring

begin

iterator to the start of the substring

length

length of the substring

Created with MrDocs