
11 Mar
2008
11 Mar
'08
4:30 p.m.
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