1 #ifndef SERIALIZE_ARRAY_H 2 #define SERIALIZE_ARRAY_H 9 template <
class TPtr,
class IntType>
16 bufptr(buf), sizeptr(size) {}
31 template <
class T,
int N>
41 template <
class TPtr,
class IntType>
55 template <
class TPtr,
class IntType>
72 #endif // SERIALIZE_ARRAY_H raw_ptr_wrapper(TPtr *&ptr)
debug_int operator&(const debug_int &lhs, const debug_int &rhs)
void operator()(T arr[N], serializer &ser)
This class is basically a wrapper for objects to declare the order in which their members should be s...
void binary(T *&buffer, Int &size)
pvt::ser_array_wrapper< TPtr, IntType > array(TPtr &buf, IntType &size)
I have typedefing pointers, but no other way.
ser_array_wrapper(TPtr &buf, IntType &size)
pvt::raw_ptr_wrapper< TPtr > raw_ptr(TPtr *&ptr)