Go to the documentation of this file.
10 #ifndef MSGPACK_V1_CPP_CONFIG_DECL_HPP
11 #define MSGPACK_V1_CPP_CONFIG_DECL_HPP
15 #if !defined(MSGPACK_USE_CPP03)
16 # if defined(_MSC_VER)
18 # define MSGPACK_USE_CPP03
20 # elif (__cplusplus < 201103L)
21 # define MSGPACK_USE_CPP03
23 #endif // MSGPACK_USE_CPP03
26 #if defined(MSGPACK_USE_CPP03)
29 # if defined (__cplusplus_cli)
30 # define MSGPACK_NULLPTR __nullptr
31 # else // defined (__cplusplus_cli)
32 # define MSGPACK_NULLPTR nullptr
33 # endif // defined (__cplusplus_cli)
34 #else // defined(nullptr)
35 # define MSGPACK_NULLPTR (0)
36 #endif // defined(nullptr)
53 T
const&
move(T
const& t);
55 template <
bool P,
typename T =
void>
58 template<
typename T, T val>
64 template<
class T,
class U>
90 #else // MSGPACK_USE_CPP03
92 #if defined (__cplusplus_cli)
93 # define MSGPACK_NULLPTR __nullptr
94 #else // defined (__cplusplus_cli)
95 # define MSGPACK_NULLPTR nullptr
96 #endif // defined (__cplusplus_cli)
107 using std::unique_ptr;
114 using std::enable_if;
116 using std::underlying_type;
118 using std::remove_const;
119 using std::remove_volatile;
120 using std::remove_cv;
121 using std::is_pointer;
129 #endif // MSGPACK_USE_CPP03
131 #if defined(__has_include)
132 #define MSGPACK_HAS_INCLUDE __has_include
133 #else // defined(__has_include)
134 #define MSGPACK_HAS_INCLUDE(header) 0
135 #endif // defined(__has_include)
137 #endif // MSGPACK_V1_CPP_CONFIG_DECL_HPP
Definition: adaptor_base.hpp:15
Definition: cpp_config_decl.hpp:71
Definition: cpp_config_decl.hpp:56
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
T const & move(T const &t)
Definition: cpp_config_decl.hpp:65
Definition: cpp_config_decl.hpp:47
Definition: cpp_config_decl.hpp:78
Definition: cpp_config_decl.hpp:68
integral_constant< bool, false > false_type
Definition: cpp_config_decl.hpp:62
Definition: cpp_config_decl.hpp:59
Definition: cpp_config_decl.hpp:81
Definition: cpp_config_decl.hpp:76
integral_constant< bool, true > true_type
Definition: cpp_config_decl.hpp:59
Definition: cpp_config_decl.hpp:74