10 #ifndef MSGPACK_V1_CPP_CONFIG_HPP 11 #define MSGPACK_V1_CPP_CONFIG_HPP 15 #if defined(MSGPACK_USE_CPP03) 24 struct 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) {}
38 T
const&
move(T
const& t)
43 template <
bool P,
typename T>
49 struct enable_if<false, T> {
52 template<
typename T, T val>
53 struct integral_constant {
54 static T
const value = val;
56 typedef integral_constant<T, val> type;
59 typedef integral_constant<bool, true>
true_type;
60 typedef integral_constant<bool, false>
false_type;
62 template<
class T,
class U>
63 struct is_same : false_type {};
66 struct is_same<T, T> : true_type {};
69 struct underlying_type {
79 #endif // MSGPACK_USE_CPP03 81 #endif // MSGPACK_V1_CPP_CONFIG_HPP
integral_constant< bool, true > true_type
Definition: cpp_config_decl.hpp:55
Definition: adaptor_base.hpp:15
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
integral_constant< bool, false > false_type
Definition: cpp_config_decl.hpp:58