Boost logo

Boost Users :

From: Rob Caldecott (robert.caldecott_at_[hidden])
Date: 2006-03-29 05:50:45


Is there any way that, using Boost, you can dynamically create classes by
name, similar to the MFC RUNTIME_CLASS macros? I was hoping that the
boost::serialize libs might be able to help with this.

For example, I want to be able to do something like:

CMyClass* pClass = CREATE_CLASS_BY_NAME("CMyClass");

Can Boost help me to achieve this?


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