
3 Jul
2008
3 Jul
'08
10:55 p.m.
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?