11 #ifndef MSGPACK_V1_TYPE_CPP11_REFERENCE_WRAPPER_HPP
12 #define MSGPACK_V1_TYPE_CPP11_REFERENCE_WRAPPER_HPP
19 #include <type_traits>
30 struct convert<std::reference_wrapper<T>> {
38 struct pack<std::reference_wrapper<T>> {
39 template <
typename Stream>
47 struct object<std::reference_wrapper<T> > {
The class template that supports continuous packing.
Definition: pack.hpp:33
packer< Stream > & pack(const T &v)
Packing function template.
Definition: adaptor_base.hpp:15
msgpack::object const & operator()(msgpack::object const &o, std::reference_wrapper< T > &v) const
Definition: reference_wrapper.hpp:31
Definition: adaptor_base.hpp:27
void operator()(msgpack::object &o, const std::reference_wrapper< T > &v) const
Definition: reference_wrapper.hpp:48
void operator()(msgpack::object::with_zone &o, const std::reference_wrapper< T > &v) const
Definition: reference_wrapper.hpp:55
Definition: adaptor_base.hpp:43
Definition: adaptor_base.hpp:38
msgpack::packer< Stream > & operator()(msgpack::packer< Stream > &o, const std::reference_wrapper< T > &v) const
Definition: reference_wrapper.hpp:40
Definition: adaptor_base.hpp:32
Definition: object.hpp:35
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66