MessagePack for C++
adaptor_base_decl.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ static resolution routine
3 //
4 // Copyright (C) 2016 KONDO Takatoshi
5 //
6 // Distributed under the Boost Software License, Version 1.0.
7 // (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9 //
10 #ifndef MSGPACK_V2_ADAPTOR_BASE_DECL_HPP
11 #define MSGPACK_V2_ADAPTOR_BASE_DECL_HPP
12 
14 
15 namespace msgpack {
16 
20 
21 using v1::packer;
22 
23 namespace adaptor {
24 
25 // Adaptor functors
26 
27 template <typename T, typename Enabler = void>
28 struct convert;
29 
30 template <typename T, typename Enabler = void>
31 struct pack;
32 
33 template <typename T, typename Enabler = void, typename Enabler2 = void>
34 struct object;
35 
36 template <typename T, typename Enabler = void>
37 struct object_with_zone;
38 
39 } // namespace adaptor
40 
41 // operators
42 
43 using v1::operator>>;
44 using v1::operator<<;
45 
47 } // MSGPACK_API_VERSION_NAMESPACE(v2)
49 
50 } // namespace msgpack
51 
52 #endif // MSGPACK_V2_ADAPTOR_BASE_DECL_HPP
Definition: adaptor_base.hpp:15
void pack(msgpack::packer< Stream > &o, const T &v)
Definition: object.hpp:1180
void convert(T &v, msgpack::object const &o)
Definition: object.hpp:1173
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66