Same as the preceding overload for the specified string type.

Synopsis

Declared in <bdlb_indexspanstringutil.h>

static
IndexSpan
create(
    std::pmr::string const& string,
    std::pmr::string::const_iterator begin,
    std::pmr::string::const_iterator end);

Return Value

an IndexSpan describing the half‐open range [`begin`, end)]

Parameters

Name

Description

string

string containing the substring

begin

iterator to the start of the substring

end

iterator one past the end of the substring

Created with MrDocs