
4 Sep
2012
4 Sep
'12
1:47 p.m.
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