$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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(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