66 template <
typename T,
typename S >
72 static yes& check(S*);
73 static no& check(...);
75 static bool const value =
sizeof(check(static_cast<T*>(0))) ==
sizeof(yes);
78 template <
class T,
bool flag>
106 t =
static_cast<T*
>(s);
136 #endif // SERIALIZE_H
DeclareDebugSlot(serialize)
debug_int operator&(const debug_int &lhs, const debug_int &rhs)
void operator()(bool &t, serializer &ser)
void size_serializable(serializable *s, serializer &ser)
SERIALIZE_MODE mode() const
This class is basically a wrapper for objects to declare the order in which their members should be s...
void operator()(serializable *&s, serializer &ser)
void pack_serializable(serializable *s, serializer &ser)
void unpack_serializable(serializable *&s, serializer &ser)
void operator()(serializer &ser, T *&t)
void operator()(T &t, serializer &ser)
void operator()(serializer &ser, T *&t)
void operator()(serializer &ser, T *&t)