Boost logo

Boost Users :

From: David A. Greene (greened_at_[hidden])
Date: 2007-08-31 17:27:12


On Friday 31 August 2007 14:50, Daniel Wallin wrote:

> > I want to find out if an edge is in the graph:
> >
> > typedef typename boost::graph_traits<my_graph_type>::
> > edge_descriptor_type edge;
> >
> > edge e;
> > bool present;
> > boost::tie(e, present) = edge(v1, v2, my_graph);
>
> ^^^^
>
> I think you want to use boost::edge() here, rather than creating an
> edge_descriptor.

Ha! Scoping strikes again!

Don't you just hate Thursdays?

Thank goodness for Labor Day...

                                                           -Dave


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net