bsl::operator""_S

operator""_S overloads

Synopses

Declared in <bslstl_string.h>

Convert a character sequence of the specified length excluding the terminating null character starting at the beginning of the specified characterString to a string object of the indicated return type. Use the bslma::Default::globalAllocator() to supply memory. (See the "Memory Allocation For a File-Scope Strings" section in the component-level documentation.)

string
operator""_S(
    char const* characterString,
    std::size_t length);
» more...

Same as the preceding overload.

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