12 Dec
2001
12 Dec
'01
4:03 a.m.
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