10 #ifndef MSGPACK_CPP_CONFIG_HPP 11 #define MSGPACK_CPP_CONFIG_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 27 #if defined(MSGPACK_USE_CPP03) 45 explicit unique_ptr(T* p = 0) throw() : std::auto_ptr<T>(p) {}
63 template <
bool P,
typename T =
void>
72 template<
typename T, T val>
74 static T
const value = val;
82 template<
class T,
class U>
95 #else // MSGPACK_USE_CPP03 106 using std::unique_ptr;
113 using std::enable_if;
122 #endif // MSGPACK_USE_CPP03 #define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
integral_constant< T, val > type
Definition: cpp_config.hpp:76
integral_constant< bool, true > true_type
Definition: cpp_config.hpp:79
unique_ptr(unique_ptr &a)
Definition: cpp_config.hpp:46
Definition: cpp_config.hpp:83
Definition: adaptor_base.hpp:15
T const & move(T const &t)
Definition: cpp_config.hpp:58
Definition: cpp_config.hpp:44
T type
Definition: cpp_config.hpp:65
Definition: cpp_config.hpp:73
T value_type
Definition: cpp_config.hpp:75
unique_ptr(unique_ptr< Y > &a)
Definition: cpp_config.hpp:48
Definition: cpp_config.hpp:64
unique_ptr(T *p=0)
Definition: cpp_config.hpp:45
integral_constant< bool, false > false_type
Definition: cpp_config.hpp:80
T & move(T &t)
Definition: cpp_config.hpp:52