|
Boost : |
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-09-25 18:15:02
On Sep 25, 2004, at 8:26 AM, Vladimir Prus wrote:
> At the moment, it's not possible to pass the object returned by
> boost::ref as
> visitor to the breadth_first_search function. So, if visitor has
> state, I
> need to hold that state by pointer, which is inconvenient.
>
> Any opinions on the attached patch? Unless there are any objections,
> I'll
> commit it after we branch for release.
Sure, after the branch. Weird name for a type, this 'realBFSVisitor'.
You didn't want to use "real_bfs_visitor", or something else more
Boost-like?
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk