|
Boost : |
From: Janusz Piwowarski (jpiw_at_[hidden])
Date: 2003-09-07 06:08:07
Hi Bruce,
> It's
> a little awkward to exit in the middle of a loop like:
I disagree, what's wrong with this? It's almost normal do-while loop.
DFS is core of other algorithms, and should be as simple as possible.
Buffer from iterators pair only is smaller, and better for
potential reuse.
-- Regards, Janusz
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk