operator""_S overloads
Synopses
Declared in <bslstl_string.h>
Create a file‐scope string from a user‐defined literal.
string
operator""_S(
char const* characterString,
std::size_t length);
Create a file‐scope wstring from a user‐defined literal.
wstring
operator""_S(
wchar_t const* characterString,
std::size_t length);
Return Value
string constructed from the character literal
Parameters
Name |
Description |
characterString |
pointer to the character sequence |
length |
number of characters excluding the null terminator |
Created with MrDocs