$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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.