Hello..
I have a derived class serialization:
for instance:
class client_request_base {
public:
client_request_base() : _type( 0 ) {}
private:
friend boost::serialization::access;
template< class ARCHIVE >
void serialize( ARCHIVE& ar, const unsigned int version ) {
ar & _type;
}
unsigned int _type;
};
class calc_skip_images_request : public client_request_base {
public:
calc_skip_images_request() : client_request_base( 1 ), _images_client(
0 ) {}
private:
friend boost::serialization::access;
template< class ARCHIVE >
void serialize( ARCHIVE& ar, const unsigned int version ) {
ar & boost::serialization::base_object