Boost logo

Boost :

From: Lie-Quan Lee (llee_at_[hidden])
Date: 2002-01-10 16:49:27


On Thu, 2002-01-10 at 16:47, Lie-Quan Lee wrote:
> On Thu, 2002-01-10 at 15:39, David Abrahams wrote:
> > Ah, the attachment bug again!
> >
> > Here's the message:
> > -------
> > After lots of work, I managed to get MSVC to ICE on my little graph example
> > :-(
>
> If this is not MSVC problem, what is it? :-)
>
> With MSVC6 in mind, you cannot use the version of breath_first_visit
> with named function parameters (for God-know-only reasons). So change
> the call to breadth_first_visit in your code to the following:
> boost::queue<vertex> q;

the vertex type above (in the boost::queue<>) should be
boost::graph_traits<up_graph>::vertex_descriptor instead of vertex.

> breadth_first_visit(
> g, &*vertices().find(source), q,
> bfs_visitor<null_visitor>(), color
> );


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