Hi all, I'm trying to find a way to use Boost serialization with polymorphism but wasn't able to make it so far. E.g. I have an abstract class named ILog and two classes that inherits from it. Now I have a vector of ILog. How do I serialize this vector? Thanks. Ricardo
There is a demo in the library which demonstrates exactly this facility. Try out the demo and verify that it works. Assuming it does, compare it with your own situation. Robert Ramey Ricardo Mayerhofer wrote:
Hi all, I'm trying to find a way to use Boost serialization with polymorphism but wasn't able to make it so far. E.g. I have an abstract class named ILog and two classes that inherits from it. Now I have a vector of ILog. How do I serialize this vector?
Thanks.
Ricardo
participants (2)
-
Ricardo Mayerhofer
-
Robert Ramey