10#ifndef MSGPACK_V1_CPP_CONFIG_HPP
11#define MSGPACK_V1_CPP_CONFIG_HPP
17#if defined(MSGPACK_USE_CPP03)
26struct unique_ptr : std::auto_ptr<T> {
27 explicit unique_ptr(T* p = 0) throw() : std::auto_ptr<T>(p) {}
28 unique_ptr(unique_ptr& a)
throw() : std::auto_ptr<T>(a) {}
30 unique_ptr (unique_ptr<Y>& a)
throw() : std::auto_ptr<T>(a) {}
40T const& move(
T const&
t)
45template <
bool P,
typename T>
51struct enable_if<
false,
T> {
54template<
typename T, T val>
56 static T const value = val;
64template<
class T,
class U>
71struct underlying_type {
81template<
class T, std::
size_t N>
90struct remove_const<
const T> {
95struct remove_volatile {
105 typedef typename msgpack::remove_volatile<
106 typename msgpack::remove_const<T>::type
120template<
class T>
struct is_pointer : detail::is_pointer_helper<typename remove_cv<T>::type> {};
131#if MSGPACK_CPP_VERSION >= 201402L
133#define MSGPACK_DEPRECATED(msg) __declspec(deprecated(msg))
135#define MSGPACK_DEPRECATED(msg) [[deprecated(msg)]]
138#define MSGPACK_DEPRECATED(msg)
Definition adaptor_base.hpp:15
void convert(T &v, msgpack::object const &o)
Definition object.hpp:1178
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition versioning.hpp:66