operator""_S overloads
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);
» more...
Create a file-scope wstring from a user-defined literal.
wstring
operator""_S(
wchar_t const* characterString,
std::size_t length);
» more...
string constructed from the character literal
| Name | Description |
|---|---|
| characterString | pointer to the character sequence |
| length | number of characters excluding the null terminator |