BloombergLP::bdlb::IndexSpanStringUtil::bind

bind overloads

Synopses

Declared in <bdlb_indexspanstringutil.h>

Return a string view of the substring of string described by span.

static
std::string_view
bind(
    std::string_view const& string,
    IndexSpan const& span);
» more...

Same as the preceding overload for a wide-character string.

static
std::wstring_view
bind(
    std::wstring_view const& string,
    IndexSpan const& span);
» more...

Return Value

a string view of the substring described by span

Parameters

NameDescription
stringstring containing the substring
spanindex span describing the substring