bsl::operator""_S

Create a file-scope wstring from a user-defined literal.

Synopsis

Declared in <bslstl_string.h>

wstring
operator""_S(
    wchar_t const* characterString,
    std::size_t length);

Return Value

string constructed from the character literal

Parameters

NameDescription
characterStringpointer to the character sequence
lengthnumber of characters excluding the null terminator