Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-29 12:47:07


Oleg Grunin <yg-boost-users_at_[hidden]> writes:

> Since mpl algorithms unlike their stl counterparts take sequences not
> iterators how does one run them on a subset of a container.

Just make a new container:

     mpl::iterator_range<first,last>

HTH,

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net