Boost logo

Boost :

From: Jeremy Pack (rostovpack_at_[hidden])
Date: 2008-07-03 20:15:50


Robert,

Yep! Good idea. I'll take care of it.

Jeremy

On Thu, Jul 3, 2008 at 3:55 PM, Robert Dailey <rcdailey_at_[hidden]> wrote:

> Currently, there is no typedef to provide a convenient way to create
> variables of the return type of boost::extensions::factory_map::get().
> For example, right now I have to do this:
>
> factory_map fm;
> std::map<int, factory<word> > & factory_list = fm.get<word, int>();
>
> It would be ideal to do this instead:
>
> factory_map fm;
> factory_map::type& factory_list = fm.get<word, int>();
>
> Could this be done?
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk