Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Bundled properties and property maps
From: Dmitry Bufistov (dmitry_at_[hidden])
Date: 2008-11-18 23:12:06


Hi Alex,

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;

hope this will help,
Dmitry

Alex Brooks escribió:
>> Gotta a const Graph also:
>>
>> property_map<const Graph, double const EdgeProp::*>
>

>
> Any other ideas?
>
>
> 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