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);
91 #error Boost 1.61.0 or later is required to use x3 parse
The class holds object and zone.
Definition: object.hpp:44
Definition: cpp03_zone.hpp:31
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:1353
Definition: adaptor_base.hpp:15
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
msgpack::object_kv * end(msgpack::object_map &map)
Definition: iterator.hpp:25
msgpack::object_kv * begin(msgpack::object_map &map)
Definition: iterator.hpp:23
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:1397
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66