Boost logo

Boost :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-07-03 18:55:20

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?

Boost list run by bdawes at, gregod at, cpdaniel at, john at