T
TOMERDR
Hi,
I was requested to write a code similar to this:
CArchive ar; //Not mfc CArchive.....
....
void * vp = &XXX; // any object.
ar << vp, sizeof(XXX);
The only solution i found is to implements both operator <<
and operator , on the CArchive object
when accepting void* the CArchive will store it in a temporary member
pointer
untill the operator , will be called
I dont conisider this solution to be good at all,and i am looking for
some other way
Thanks in advance
I was requested to write a code similar to this:
CArchive ar; //Not mfc CArchive.....
....
void * vp = &XXX; // any object.
ar << vp, sizeof(XXX);
The only solution i found is to implements both operator <<
and operator , on the CArchive object
when accepting void* the CArchive will store it in a temporary member
pointer
untill the operator , will be called
I dont conisider this solution to be good at all,and i am looking for
some other way
Thanks in advance