Re: [Boost-users] [BGL] VertexProperties as a Nested Type
Dear Jeremiah,
It looks like property_map is the right name. Could you please post the entire file so I know which line numbers those errors are referring to?
Sure. Please find that in the attachments. TIA, --Hossein
On Thu, 20 May 2010, Hossein Haeri wrote:
Dear Jeremiah,
It looks like property_map is the right name. Could you please post the entire file so I know which line numbers those errors are referring to?
Sure. Please find that in the attachments.
The output of property_map<...>::type is a property map, not the value
type of the property map. Thus, the property map cannot be assigned to a
variable of type string. If you want the map's value type, use
property_traits
Jeremiah,
The output of property_map<...>::type is a property map, not the value type of the property map. Thus, the property map cannot be assigned to a variable of type string. If you want the map's value type, use property_traits
::type>::value_type.
OK, yes, this makes sense. And, it worked for me. Cheers, --Hossein
participants (2)
-
Hossein Haeri
-
Jeremiah Willcock