28 Jan
2009
28 Jan
'09
7:55 p.m.
Hi all, I am looking for a solution to do this: int p1 = 5; int* test; test = &p1; std::ofstream out("test.bin"); boost::archive::binary_oarchive ar(out); ar << test; it does not compile. I get: Error 9 error C2228: left of '.serialize' must have class/struct/union c:\...\boost_1_37_0\boost\serialization\access.hpp I am using MSVC9. Boost 1.37.0 thanks, Sahrah -- View this message in context: http://www.nabble.com/Simple-serialization-of-int*-tp21713482p21713482.html Sent from the Boost - Users mailing list archive at Nabble.com.