Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-07-08 06:41:18


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.


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