30 Nov
2005
30 Nov
'05
12:57 a.m.
<snip>
The client would call the function like this:
boost::shared_ptr < Foo > foo;
Serializer *s = new XmlReader();
s->serializeObject(foo);
Instead of: s->serializeObject(foo); try: s->serializeObject(boost::dynamic_pointer_cast<Serializable>(foo)); I hope this helps. Delfin Rojas