Template Function sequant::to_wstring(S&&)

Function Documentation

template<typename S, typename = meta::EnableIfAllBasicStringConvertible<S>>
std::wstring sequant::to_wstring(S &&str_utf8)

(potentially) narrowing character converter.

Converts a UTF-8 encoded std::basic_string_view<Char> to a UTF-8 encoded std::wstring