Boost logo

Boost Users :

From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2005-11-03 17:32:01


Douglas Gregor wrote:

> I'd suggest replacing the Edge* with boost::optional<Edge>. You'll
> get about the same behavior but without the potential problems with
> taking the address of a temporary.
>
> Doug

Thanks for the sugguestion, looks useful and I'll give it a try.
By the way, after you discouraged me from attempting to using a subgraph to
represent a spanning tree, I discovered filtered_graph. This is exactly what I
was looking for.


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