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,
bslstl::StringRef::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