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
below:

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

Thanks again,

Alex


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