
9 Aug
2007
9 Aug
'07
9:10 p.m.
Marcus Lindblom wrote:
Please add a make_value_range() too, that uses the range-library (boost::begin & boost::end).
FWIW, oven(http://tinyurl.com/2axp2l) implemented that. :-) BOOST_FOREACH (string v, make_map_values(m)) { // ... } make_map_values(m) is synonym of make_elements<mpl::int_<1> >(m) that iterates over a range of FusionSequence. I agree no specific iterator is needed. make_elements is actually implemented using transform_iterator and a FunctionObject. Also note that Boost.Lambda can't be used here. A Boost.Lambda functor is not Assignable. Regards, -- Shunsuke Sogame