SpiecsEngine
 
Loading...
Searching...
No Matches

◆ CharToWChar()

std::wstring Spices::StringLibrary::CharToWChar ( const char * c)
static

Transform char to wide char.

Parameters
[in]cin char.
Returns
Returns wide char.

Definition at line 42 of file StringLibrary.cpp.

43 {
45
46 std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
47
48 return converter.from_bytes(c);
49 }
#define SPICES_PROFILE_ZONE

Referenced by Spices::ProcessLibrary::OpenProcess(), and Spices::ThreadLibrary::SetThreadName().