Boost logo

Boost :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-08-09 17:10:37

Marcus Lindblom wrote:
> Please add a make_value_range() too, that uses the range-library (boost::begin &
> boost::end).

FWIW, oven( 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.


Shunsuke Sogame

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