10#ifndef MSGPACK_V1_CPP_CONFIG_HPP
11#define MSGPACK_V1_CPP_CONFIG_HPP
15#if defined(MSGPACK_USE_CPP03)
24struct unique_ptr : std::auto_ptr<T> {
25 explicit unique_ptr(T* p = 0) throw() : std::auto_ptr<T>(p) {}
26 unique_ptr(unique_ptr& a)
throw() : std::auto_ptr<T>(a) {}
28 unique_ptr (unique_ptr<Y>& a)
throw() : std::auto_ptr<T>(a) {}
38T
const&
move(T
const& t)
43template <
bool P,
typename T>
49struct enable_if<false, T> {
52template<
typename T, T val>
53struct integral_constant {
54 static T
const value = val;
56 typedef integral_constant<T, val> type;
59typedef integral_constant<bool, true>
true_type;
60typedef integral_constant<bool, false>
false_type;
62template<
class T,
class U>
69struct underlying_type {
79template<
class T, std::
size_t N>
88struct remove_const<const T> {
93struct remove_volatile {
97struct remove_volatile<volatile T> {
114struct is_pointer_helper<T*> :
true_type {};
118template<
class T>
struct is_pointer : detail::is_pointer_helper<typename remove_cv<T>::type> {};
129#if __cplusplus >= 201402L
131#define MSGPACK_DEPRECATED(msg) __declspec(deprecated(msg))
133#define MSGPACK_DEPRECATED(msg) [[deprecated(msg)]]
136#define MSGPACK_DEPRECATED(msg)
Definition adaptor_base.hpp:15
integral_constant< bool, true > true_type
Definition cpp_config_decl.hpp:61
integral_constant< bool, false > false_type
Definition cpp_config_decl.hpp:62
Definition cpp_config_decl.hpp:74
Definition cpp_config_decl.hpp:76
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:58