Boost logo

Boost Users :

Subject: Re: [Boost-users] [graph] adjacency_list constructor fails, wrong usage?
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-11-14 19:22:37


On Mon, 14 Nov 2011, Anders Wallin wrote:

>> any suggestions?
>
> If I construct a vector of std::pair<Vertex,Vertex> explicitly I can
> get this to compile. But it's hardly an elegant way to copy a graph...

Have you tried copy_graph()
(http://www.boost.org/doc/libs/1_47_0/libs/graph/doc/copy_graph.html)? Is
there some reason that does not work?

-- Jeremiah Willcock


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