Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Bundled properties and property maps
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2008-11-19 08:25:38


>
> I was able to compile your original code by changing the line
> typedef boost::property_map<Graph, double EdgeProp::*>::type
> EdgeWeightMap;
> to
> typedef boost::property_map<Graph, double EdgeProp::*>::const_type
> EdgeWeightMap;
>

That's right! I had completely forgotten about the const_type member... Good
catch Dmitry.

Andrew Sutton
andrew.n.sutton_at_[hidden]



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