| 13 | } |
| 14 | |
| 15 | std::vector<std::wstring> stringsToWideStrings(const std::vector<std::string>& strings) |
| 16 | { |
| 17 | std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> converter; |
| 18 | |
| 19 | std::vector<std::wstring> new_strings; |
| 20 | for (const std::string& string : strings) |
| 21 | { |
| 22 | new_strings.push_back(converter.from_bytes(string)); |
| 23 | } |
| 24 | return new_strings; |
| 25 | } |
| 26 | |
| 27 | // ##### WideString to String ##### // |
| 28 |
no outgoing calls
no test coverage detected