Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] VertexProperties as a Nested Type
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2010-05-20 11:02:24


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<property_map<...>::type>::value_type.

-- Jeremiah Willcock


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