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);

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

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

Return Value

a string view of the substring described by span

Parameters

Name

Description

string

string containing the substring

span

index span describing the substring

Created with MrDocs