|
Boost Users : |
Subject: Re: [Boost-users] [BGL] Bundled properties and property maps
From: Dmitry Bufistov (dmitry_at_[hidden])
Date: 2008-12-18 16:17:25
Geoff Hilton escribió:
>
>> (in the version 1.37 the line number is 165)
>> typename typename property_traits<PMap>::value_type val;
>> to the
>> typename remove_const<typename
>> property_traits<PMap>::value_type>::type val;
>>
>> Does it work for you?
>>
>> Regards,
>> Dmitry
>
> Thanks Dmitry, it does work! I do wonder though, isn't there a better
> fix? What about specializing ReadablePropertyMapConcept specifically for
> const properties, or does that not make sense with concept classes? I'm
> okay with modifying BGL code, but the remove_const makes me feel dirty.
>
> This sounds like something that should be brought up with BGL
> maintainers...
>
> Geoff
I believe that something is bad with the const version of
bundled_properties. Andrew, what do you think?
Dmitry
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