Project Alice
Loading...
Searching...
No Matches
native_types_win.hpp File Reference
#include <string>
#include <string_view>
Include dependency graph for native_types_win.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NATIVE(X)   L##X
 
#define NATIVE_M(X)   NATIVE(X)
 
#define NATIVE_DIR_SEPARATOR   L'\\'
 

Typedefs

using native_string = std::wstring
 
using native_string_view = std::wstring_view
 
using native_char = wchar_t
 

Functions

template<typename T >
native_string to_native_string (T &&v) noexcept
 

Macro Definition Documentation

◆ NATIVE

#define NATIVE (   X)    L##X

Definition at line 13 of file native_types_win.hpp.

◆ NATIVE_DIR_SEPARATOR

#define NATIVE_DIR_SEPARATOR   L'\\'

Definition at line 15 of file native_types_win.hpp.

◆ NATIVE_M

#define NATIVE_M (   X)    NATIVE(X)

Definition at line 14 of file native_types_win.hpp.

Typedef Documentation

◆ native_char

using native_char = wchar_t

Definition at line 7 of file native_types_win.hpp.

◆ native_string

using native_string = std::wstring

Definition at line 5 of file native_types_win.hpp.

◆ native_string_view

using native_string_view = std::wstring_view

Definition at line 6 of file native_types_win.hpp.

Function Documentation

◆ to_native_string()

template<typename T >
native_string to_native_string ( T &&  v)
noexcept

Definition at line 9 of file native_types_win.hpp.