On Sun, Jul 3, 2011 at 7:19 PM, Robert Ramey
<ramey@rrsd.com> wrote:
Colin Caprani wrote:
> I hope you don't mind, but I've a bit more information on this:
I'm personally very familiar with MFC and it's implemenation of
serialization. In fact, it was this system which inspired me to write the
serialization library in the first case. So here are a couple of
observations.
Robert,
Firstly thank you for replying. Secondly, a bigger thanks for the library!
Since I am not an expert/professional programmer, I wasn't sure that I wasn't missing something obvious. Once I read your answer and accepted that for the CMyDoc class itself the serialize(Archive& ar, const unsigned int version) function wasn't a runner I implemented separate boost_save and boost_load functions. However, contrary to what you mentioned, I had to overload the OnOpenDocument and OnSaveDocument, for example: