32 void to_wstring(wstring& out, cstring_view stringView,
const std::locale& locale = std::locale());
40 [[nodiscard]] wstring
to_wstring(cstring_view stringView,
const std::locale& locale = std::locale());
48 void to_wstring(wstring& out, wstring_view stringView,
const std::locale& locale = std::locale());
56 [[nodiscard]] wstring_view
to_wstring(wstring_view stringView,
const std::locale& locale = std::locale());
65 void to_cstring(cstring& out, wstring_view stringView,
const std::locale& locale = std::locale());
74 [[nodiscard]] cstring
to_cstring(wstring_view stringView,
const std::locale& locale = std::locale());
82 void to_cstring(cstring& out, cstring_view stringView,
const std::locale& locale = std::locale());
90 [[nodiscard]] cstring_view
to_cstring(cstring_view stringView,
const std::locale& locale = std::locale());
98 void to_string(
string& out, cstring_view stringView,
const std::locale& locale = std::locale());
106 [[nodiscard]]
string to_string(cstring_view stringView,
const std::locale& locale = std::locale());
114 void to_string(
string& out, wstring_view stringView,
const std::locale& locale = std::locale());
122 [[nodiscard]]
string to_string(wstring_view stringView,
const std::locale& locale = std::locale());
144 template<
class char_t,
string_literal sLiteral>
#define QX_DEFINE_CATEGORY(name,...)
Define a category.
Contains perf scope macros for profiler (for internal usage only, but user may override them)
constexpr basic_string_view< char_t > convert_string_literal()
Convert a constexpr string literal to the wider or equal char type string view.
void to_wstring(wstring &out, cstring_view stringView, const std::locale &locale=std::locale())
convert cstring to wstring
void to_string(string &out, cstring_view stringView, const std::locale &locale=std::locale())
Convert a char string to common string type.
void utf8_to_string(string &out, cstring_view pszUtf8)
Convert const char* representing UTF8 to wstring.
void to_cstring(cstring &out, wstring_view stringView, const std::locale &locale=std::locale())
Convert wstring to cstring.