|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net