|
Boost : |
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-03 20:26:49
AMDG
Jeremy Pack wrote:
> Yep! Good idea. I'll take care of it.
>
>> 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>();
>>
Is it really that easy? Doesn't the result of get
depend on the particular template arguments?
I don't quite see how you can get away with a
single typedef.
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