| 38 | namespace winrt_utils { |
| 39 | |
| 40 | inline Platform::String^ string(const char* from) |
| 41 | { |
| 42 | std::wstring tmp(from, from + std::strlen(from)); |
| 43 | return ref new Platform::String(tmp.c_str()); |
| 44 | } |
| 45 | |
| 46 | inline Platform::String^ string(const std::string& from) |
| 47 | { |