Boost logo

Boost Users :

From: kauai (kauai_diver_at_[hidden])
Date: 2005-05-17 12:24:02

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,

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at