bsl::operator""_s

Create a wstring from a user-defined string 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