Boost logo

Boost Users :

Subject: Re: [Boost-users] BGL: Copying graphs and edge_descriptors confusion
From: David Doria (daviddoria_at_[hidden])
Date: 2011-06-27 13:43:00


> I can't explain to you why you observe this unexpected behavior, but there is
> also the copy_graph() function in the BGL which might perhaps suit your needs?

Good to know, but that didn't change anything. I changed

  Graph g = inputGraph;

to

  Graph g;
  boost::copy_graph(inputGraph, g);

and the output was identical.

Any other thoughts?

David


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