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

Go to the source code of this file.

Macros

#define NATIVE(X)   X
 
#define NATIVE_M(X)   NATIVE(X)
 
#define NATIVE_DIR_SEPARATOR   '/'
 

Typedefs

using native_string = std::string
 
using native_string_view = std::string_view
 
using native_char = char
 

Functions

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

Macro Definition Documentation

◆ NATIVE

#define NATIVE (   X)    X

Definition at line 13 of file native_types_nix.hpp.

◆ NATIVE_DIR_SEPARATOR

#define NATIVE_DIR_SEPARATOR   '/'

Definition at line 15 of file native_types_nix.hpp.

◆ NATIVE_M

#define NATIVE_M (   X)    NATIVE(X)

Definition at line 14 of file native_types_nix.hpp.

Typedef Documentation

◆ native_char

using native_char = char

Definition at line 7 of file native_types_nix.hpp.

◆ native_string

using native_string = std::string

Definition at line 5 of file native_types_nix.hpp.

◆ native_string_view

using native_string_view = std::string_view

Definition at line 6 of file native_types_nix.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_nix.hpp.