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?