11 #ifndef MSGPACK_V2_OBJECT_FWD_HPP
12 #define MSGPACK_V2_OBJECT_FWD_HPP
23 struct object : v1::object {
62 using v1::object::with_zone;
66 #if !defined(MSGPACK_USE_CPP03)
73 struct as<T, typename std::enable_if<v1::has_as<T>::value>::type> : v1::adaptor::as<T> {
82 static auto check(U*) ->
83 typename std::enable_if<
94 template <
typename...>
95 static std::false_type check(...);
98 static constexpr
bool value = type::value;
Definition: cpp03_zone.hpp:31
Definition: adaptor_base.hpp:15
void convert(T &v, msgpack::object const &o)
Definition: object.hpp:1173
Definition: object_fwd_decl.hpp:61
Definition: object_fwd.hpp:53
static constexpr bool value
Definition: object_fwd.hpp:66
decltype(check< T >(MSGPACK_NULLPTR)) type
Definition: object_fwd.hpp:65
Definition: object_fwd.hpp:233
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
implicit_type convert() const
object()
Definition: object_fwd.hpp:24
object(const T &v)
Construct object from T.
Definition: object_fwd.hpp:35
T & convert(T &v) const
Convert the object.
Definition: object_fwd.hpp:60
object(v1::object const &o)
Definition: object_fwd.hpp:25
object(const T &v, msgpack::zone &z)
Construct object from T.
Definition: object_fwd.hpp:49
#define MSGPACK_NULLPTR
Definition: cpp_config_decl.hpp:85
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:66