Boost logo

Boost Users :

From: Ramin Zahraie (rz0_at_[hidden])
Date: 2001-12-11 23:03:30


Björn Karlsson wrote:

>
> I don't think that polymorphism is the cure - you'll always need to downcast
> the pointer as the signatures differ. However, there is support in Boost for
> what you're trying to do - through boost::any. Like I said before, the
> solution will not be very clean, but it will work.
> The code snippet below seems to do what you're asking for:

Dear Björn

Thank you very, very much for this example. I will attempt to implement
it in my application.

Thank you very much.

Regards
RZ

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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