MessagePack for C++
x3_parse_decl.hpp
Go to the documentation of this file.
1 //
2 // MessagePack for C++ deserializing routine
3 //
4 // Copyright (C) 2017 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_X3_PARSE_DECL_HPP
11 #define MSGPACK_V2_X3_PARSE_DECL_HPP
12 
13 #if defined(MSGPACK_USE_X3_PARSE)
14 
15 #include "msgpack/versioning.hpp"
16 
17 namespace msgpack {
18 
22 
23 
24 template <typename Iterator, typename Visitor>
25 bool parse(Iterator&& begin, Iterator&& end, Visitor&& vis);
26 
28 } // MSGPACK_API_VERSION_NAMESPACE(v2)
30 
31 } // namespace msgpack
32 
33 
34 #endif // defined(MSGPACK_USE_X3_PARSE)
35 
36 #endif // MSGPACK_V2_X3_PARSE_DECL_HPP
Definition: adaptor_base.hpp:15
msgpack::object_kv * end(msgpack::object_map &map)
Definition: iterator.hpp:25
msgpack::object_kv * begin(msgpack::object_map &map)
Definition: iterator.hpp:23
bool parse(const char *data, size_t len, size_t &off, Visitor &v)
Unpack msgpack formatted data via a visitor.
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66