
6 Aug
2010
6 Aug
'10
12:03 a.m.
I'm afraid declaring boost::serialization::access a friend is only helpful if you choose the intrusive approach and your serialize member function is not public. If you need the members to be non-public and a "non-intrusive" approach, it seems you have to use a workaround like a derived "accessor class" that exposes the private members. See http://stackoverflow.com/questions/1687579/boost-serialization-access-to-pro... for an example. Have a nice day, Stefan