Newer
Older
#ifndef __VEREIGN_CORE_STRING_HH
#define __VEREIGN_CORE_STRING_HH
#include <string>
#include <codecvt>
namespace vereign::string {
#ifdef _WIN32
auto widen(const std::string& utf8_str) -> std::wstring;
auto narrow(const std::wstring& utf16_str) -> std::string;
#endif
} // vereign::string
#endif // __VEREIGN_CORE_STRING_HH