19 Dec
2007
19 Dec
'07
4:55 p.m.
Why aren't you just using viritual functions on the base class pointer? Robert Ramey am doing something very similar to what you mention above. What I do is to store pointers to the objects (shared_ptr actually) as base class ptrs in the archive. When I read the archive in, I do a dynamic_cast, and I get the original object back - works very well. I haven't used typeid, so it is possible that I haven't understood your question... Mahesh _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users