From: Delfin Rojas (drojas_at_[hidden])
Date: 2005-11-29 19:57:17


<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