17 May
2005
17 May
'05
5:24 p.m.
Hi all, Just wondering if I can do this with Boost: I have a number of classes that all have the same static method with the same arguments. I want to register these classes somewhere/somehow so that later on I can do something like: aClassName::StaticMethod(pData, len); // for example At runtime aClassName whould be the actual class, for example would resolve to: BobsClass::StaticMethod(pData, len); In Java I think I would use the class "Class" to do something like this, but dont know how in C++. Thanks for any help, -K __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com