18 Dec
2008
18 Dec
'08
9:17 p.m.
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
::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