Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-03 20:58:14


Robert Dailey wrote:
> Why not turn factory_map::get() into a template utility class of some
> sort instead of a function? That would give you the ability to typedef
> the std::map. Perhaps another option is to do the following:
> <snip>
> All I know for sure is that exposing
> std::map seems like an implementation detail, and specifying the same
> template parameters more than once also bothers me slightly.

I kind of like the idea of allowing

type_factory_map<word, int> factory_list(fm);

In Christ,
Steven Watanabe

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