Boost logo

Boost Users :

From: gast128 (gast128_at_[hidden])
Date: 2006-10-17 11:16:38


Dear all,

I get a crash when copying a graph. Probably something simple. Does anyone
know?

void Foo()
{
  typedef boost::adjacency_list<boost::listS, boost::listS,
boost::bidirectionalS, boost::property<boost::vertex_index_t, int> > Graph;

   Graph graph1;
   Graph graph2;
   
   FillGraph(&graph1);
   
   //normal copy
   boost::copy_graph(graph1, graph2); //<--
}

Wkr,
me


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