15 #include <vsg/core/Export.h>
23 extern VSG_DECLSPEC
void convert_utf(
const std::string& src, std::wstring& dst);
26 extern VSG_DECLSPEC
void convert_utf(
const std::wstring& src, std::string& dst);
28 inline void convert_utf(
const std::string& src, std::string& dst) { dst = src; }
29 inline void convert_utf(
const std::wstring& src, std::wstring& dst) { dst = src; }
30 inline void convert_utf(
const char c, std::string& dst)
35 inline void convert_utf(
const char c, std::wstring& dst)
38 dst.push_back(
static_cast<wchar_t>(c));
40 inline void convert_utf(
const wchar_t c, std::string& dst)
44 convert_utf(src, dst);
46 inline void convert_utf(
const wchar_t c, std::wstring& dst)
53 T convert_utf(
const std::string& src)
56 convert_utf(src, dst);
61 T convert_utf(
const char* src)
64 convert_utf(src, dst);
69 T convert_utf(
const char c)
77 T convert_utf(
const std::wstring& src)
80 convert_utf(src, dst);
85 T convert_utf(
const wchar_t* src)
88 convert_utf(src, dst);
93 T convert_utf(
const wchar_t c)