Boost logo

Boost Users :

From: shunsuke (pstade.mb_at_[hidden])
Date: 2008-03-11 12:30:14


Robert Umland wrote:
> I would like to overload the ++operator for multimap so that I can
> return all bar's that are usable, i.e. call the bar::isUsable()
> function before returning the pair of iterators.

Though I might fail to fully understand your question,
see: map_values and filtered @ http://p-stade.sourceforge.net/oven/index.html
, where you could find the corresponding iterators found in Boost.Iterator.

> I did find this web page:
> http://www.zeta.org.au/~jon/STL/views/doc/views.html
> and was wondering if boost had anything like this already.

Such a library(Boost.RangeEx) seems waiting for review.

Regards,

-- 
Shunsuke Sogame

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