MessagePack for C++
array_ref_decl.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ static resolution routine
3 //
4 // Copyright (C) 2008-2016 FURUHASHI Sadayuki and 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_V1_TYPE_ARRAY_REF_DECL_HPP
11 #define MSGPACK_V1_TYPE_ARRAY_REF_DECL_HPP
12 
13 #include "msgpack/versioning.hpp"
15 
16 namespace msgpack {
17 
21 
22 namespace type {
23 
24 template <typename T>
25 struct array_ref;
26 
27 template <typename T>
28 array_ref<T const> make_array_ref(T const& t);
29 
30 template <typename T>
31 array_ref<T> make_array_ref(T& t);
32 
33 } // namespace type
34 
36 } // MSGPACK_API_VERSION_NAMESPACE(v1)
38 
39 } // namespace msgpack
40 
41 #endif // MSGPACK_V1_TYPE_ARRAY_REF_DECL_HPP
Definition: adaptor_base.hpp:15
array_ref< T const > make_array_ref(T const &t)
Definition: array_ref.hpp:64
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58