j
k
j a
j l
main() { ... const A* a = new a("stuff"); const A* c = new c(*a, 52.54390f); // alter to base class pointer { ofstream ofs("dump.bin"); boost::archive::text_oarchive oa(ofs); oa< }
main() {
... const A* a = new a("stuff"); const A* c = new c(*a, 52.54390f); // alter to base class pointer
{ ofstream ofs("dump.bin");
boost::archive::text_oarchive oa(ofs); oa< }
Try the above change Robert Ramey
Back to the thread
Back to the list