Boost logo

Boost :

Subject: Re: [boost] [graph] property_value no longer valid for bgl_named_parameters
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2012-09-04 09:47:10

On Tue, 4 Sep 2012, Alex Hagen-Zanker wrote:

> The transition from Boost 1.49 to 1.51 gave me a breaking change in the
> graph library:
> Originally I used the property_value struct to get the type of a named
> parameter, like this: property_value<bgl_params, Tag>::type;
> This no longer works and the current use seems to be: get_param_type<Tag,
> bgl_params>::type;
> Is this a regression? Or was I just using the library in the wrong way?

I refactored things so that named parameters and properties don't use the
same mechanisms, so property_value will only work on properties now. You
should use get_param() and get_param_type for named parameters.

-- Jeremiah Willcock

Boost list run by bdawes at, gregod at, cpdaniel at, john at