28 Nov
2005
28 Nov
'05
11:47 a.m.
Hello, I know the question has already been asked (http://groups.google.com/group/boost-list/browse_thread/thread/9e1bcbd7c4f76cb8/7cfd47f06f01bf71?lnk=st&q=serialize+template+abstract+boost&rnum=1&hl=en#7cfd47f06f01bf71) but without answers. So I retry.. Is it possible to serialize an object that inherits from a templated abstract class ? For instance : template<typename T> class base { }; template<typename T> class Impl : public base<T> { }; int main(/* ... */) { base *b = new Impl(type); // how can we serialize b ? } Thanks for your help.