Guitar
wstring.h
Go to the documentation of this file.
1 
2 
3 
4 #ifndef WSTRING_H
5 #define WSTRING_H
6 
7 #include <string>
8 
9 namespace misc {
10 
11 #ifdef _WIN32
12 std::wstring convert_str_to_wstr(std::string_view const &str);
13 std::string convert_wstr_to_str(std::wstring_view const &str);
14 #else
15 std::u16string convert_str_to_wstr(std::string_view const &str);
16 std::string convert_wstr_to_str(std::u16string_view const &str);
17 #endif
18 
19 }
20 
21 #endif // WSTRING_H
Definition: misc.h:20
std::u16string convert_str_to_wstr(std::string_view const &str)
Definition: wstring.cpp:41
std::string convert_wstr_to_str(std::u16string_view const &str)
Definition: wstring.cpp:118