
6 Aug
2010
6 Aug
'10
10:40 p.m.
gmkdroid wrote:
Hello,
I'm trying to add Boost serialization to a class which has private data members. I'm using the "non-intrusive" free save/load split method. I've added "friend class boost::serialization::access;" to my class, but I still receive a "cannot access private member..." compiler error. How can I give the load/save functions friend access to my class?
I'm not aware of any problem in this area. If you want to make a small example, we'll take a look at it. Robert Ramey
I'm using Visual Studio 2008 with Boost Version 1.42.0.
Thanks,
Glen _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost