BloombergLP::bdlb::IndexSpanStringUtil::create

Same as the preceding overload for the specified string type.

Synopsis

Declared in <bdlb_indexspanstringutil.h>

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

Return Value

an IndexSpan describing the substring at begin of length

Parameters

NameDescription
stringstring containing the substring
beginiterator to the start of the substring
lengthlength of the substring