Boost logo

Boost :

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


AMDG

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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk