Project Alice
Loading...
Searching...
No Matches
native_types_win.hpp
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include <string_view>
4
5using native_string = std::wstring;
6using native_string_view = std::wstring_view;
7using native_char = wchar_t;
8template<typename T>
10 return std::to_wstring(v);
11}
12
13#define NATIVE(X) L##X
14#define NATIVE_M(X) NATIVE(X)
15#define NATIVE_DIR_SEPARATOR L'\\'
char native_char
std::string_view native_string_view
std::string native_string
native_string to_native_string(T &&v) noexcept