Boost logo

Boost Users :

Subject: [Boost-users] [BGL] Bundled properties and property maps
From: Alex Brooks (a.brooks_at_[hidden])
Date: 2008-11-18 07:02:49

Sorry, I neglected to point out the line that doesn't compile. It's marked

  typedef boost::property_map<Graph, double EdgeProp::*>::type EdgeWeightMap;
  // The following line fails to compile
  EdgeWeightMap edgeWeightMap = get(&EdgeProp::cost, graph);

Thanks again,


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at