Go to the documentation of this file.
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...>
98 static constexpr
bool value = type::value;
101 #endif // !defined(MSGPACK_USE_CPP03)
109 #endif // MSGPACK_V2_OBJECT_FWD_HPP
object()
Definition: object_fwd.hpp:24
object(const T &v, msgpack::zone &z)
Construct object from T.
Definition: object_fwd.hpp:49
Definition: object_fwd.hpp:53
Definition: adaptor_base.hpp:15
Definition: cpp_config_decl.hpp:56
static constexpr bool value
Definition: object_fwd.hpp:66
#define MSGPACK_API_VERSION_NAMESPACE(ns)
Definition: versioning.hpp:58
Definition: cpp03_zone.hpp:22
T & convert(T &v) const
Convert the object.
Definition: object_fwd.hpp:60
void convert(T &v, msgpack::object const &o)
Definition: object.hpp:1194
Definition: object_fwd_decl.hpp:62
#define MSGPACK_NULLPTR
Definition: cpp_config_decl.hpp:35
object(const T &v)
Construct object from T.
Definition: object_fwd.hpp:35
implicit_type convert() const
Definition: object.hpp:1060
integral_constant< bool, false > false_type
Definition: cpp_config_decl.hpp:62
Object class that corresponding to MessagePack format object.
Definition: object_fwd.hpp:75
object(v1::object const &o)
Definition: object_fwd.hpp:25
integral_constant< bool, true > true_type
Definition: cpp_config_decl.hpp:59
decltype(check< T >(MSGPACK_NULLPTR)) type
Definition: object_fwd.hpp:65