createFromPositions overloads
Synopses
Declared in <bdlb_indexspanstringutil.h>
Return an IndexSpan describing the substring of the specified string starting at the specified begin and ending (not including) the specified end. The behavior is undefined unless begin <= string.length() and end <= string.length().
static
IndexSpan
createFromPositions(
std::string_view const& string,
IndexSpan::size_type begin,
IndexSpan::size_type end);
Same as the preceding overload for wide‐character string.
static
IndexSpan
createFromPositions(
std::wstring_view const& string,
IndexSpan::size_type begin,
IndexSpan::size_type end);
Created with MrDocs