8 Jul
2004
8 Jul
'04
11:41 a.m.
Mark Loew wrote:
I have to create a class factory and was looking for a generic class factory that I could work with. I looked in the boost documentation but didn't find anything. Is there something there that I am missing or do I need to roll my own?
Depending on your needs, map< string, function< shared_ptr<Base>() > > may suffice.