Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-01-23 13:59:49


Thanks, I was just hitting that bug, and this fixed it :)

FWIW, my motivator for the filter iterator is to use it inside of a
filtered-edge graph adaptor (for the max-flow problem, only want
to see the edges with residual capacity > 0).

Cheers,
Jeremy

On Tue, 23 Jan 2001, Gary Powell wrote:
Gary.P> // Better to write an "advance"
Gary.P>
Gary.P> void advance(itertype iter)
Gary.P> {
Gary.P> while (m.end != iter && // test that it is valid first.
Gary.P> !pred(*iter) ))
Gary.P> ++iter;
Gary.P> }
----------------------------------------------------------------------
 Jeremy Siek www: http://www.lsc.nd.edu/~jsiek/
 Ph.D. Candidate email: jsiek_at_[hidden]
 Univ. of Notre Dame work phone: (219) 631-3906
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk