Go to the documentation of this file.
10 #ifndef MSGPACK_V3_X3_UNPACK_HPP
11 #define MSGPACK_V3_X3_UNPACK_HPP
13 #if defined(MSGPACK_USE_X3_PARSE)
15 #include <boost/version.hpp>
17 #if BOOST_VERSION >= 106100
31 template <
typename Iterator>
36 unpack_limit
const& limit)
42 std::forward<Iterator>(
begin), std::forward<Iterator>(
end), *z, obj, referenced, f, user_data, limit);
46 template <
typename Iterator>
50 unpack_limit
const& limit)
53 return unpack(std::forward<Iterator>(
begin), std::forward<Iterator>(
end), referenced, f, user_data, limit);
56 template <
typename Iterator>
62 unpack_limit
const& limit)
67 std::forward<Iterator>(
begin), std::forward<Iterator>(
end), z, obj, referenced, f, user_data, limit);
71 template <
typename Iterator>
76 unpack_limit
const& limit)
80 z, std::forward<Iterator>(
begin), std::forward<Iterator>(
end), referenced, f, user_data, limit);
89 #else // BOOST_VERSION >= 106100
91 #error Boost 1.61.0 or later is required to use x3 parse
93 #endif // BOOST_VERSION >= 106100
95 #endif // defined(MSGPACK_USE_X3_PARSE)
97 #endif // MSGPACK_V3_X3_UNPACK_HPP
bool(* unpack_reference_func)(msgpack::type::object_type type, std::size_t size, void *user_data)
The type of reference or copy judging function.
Definition: unpack_decl.hpp:74
Definition: adaptor_base.hpp:15
parse_return unpack_imp(const char *data, std::size_t len, std::size_t &off, msgpack::zone &result_zone, msgpack::object &result, bool &referenced, unpack_reference_func f=MSGPACK_NULLPTR, void *user_data=MSGPACK_NULLPTR, unpack_limit const &limit=unpack_limit())
Definition: unpack.hpp:1338
msgpack::object_handle unpack(const char *data, std::size_t len, std::size_t &off, bool &referenced, unpack_reference_func f, void *user_data, unpack_limit const &limit)
Unpack msgpack::object from a buffer.
Definition: unpack.hpp:1382
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
msgpack::object_kv * begin(msgpack::object_map &map)
Definition: iterator.hpp:23
Definition: cpp03_zone.hpp:22
msgpack::object_kv * end(msgpack::object_map &map)
Definition: iterator.hpp:25
The class holds object and zone.
Definition: object.hpp:44
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75