6 #ifndef CPPIPC_IPC_DESERIALIZER_MINIMAL_HPP 7 #define CPPIPC_IPC_DESERIALIZER_MINIMAL_HPP 9 #include <core/storage/serialization/iarchive.hpp> 10 #include <core/system/cppipc/ipc_object_base.hpp> 13 namespace archive_detail {
15 template <
typename OutArcType,
typename T>
16 struct serialize_impl<OutArcType,
std::shared_ptr<T>, false,
17 typename std::enable_if<std::is_convertible<T*, cppipc::ipc_object_base*>::value>::type
21 exec(OutArcType& oarc,
const std::shared_ptr<T> value) {
27 template <
typename InArcType,
typename T>
28 struct deserialize_impl<InArcType,
std::shared_ptr<T>, false,
29 typename std::enable_if<std::is_convertible<T*, cppipc::ipc_object_base*>::value>::type
32 void exec(InArcType& iarc, std::shared_ptr<T>& value) {