std::wstring Ice::stringToWstring | ( | const std::string & | str, |
const StringConverterPtr & | nc = nullptr, | ||
const WstringConverterPtr & | wc = nullptr ) |
Converts the given narrow string to a wide string.
str | A narrow string. |
nc | The narrow string converter. If null, the result's narrow string encoding is UTF-8. |
wc | The wide string converter. If null, the input's wstring encoding is UTF-16 or UTF-32 depending on the size of wchar_t. |