Boost logo

Boost :

Subject: Re: [boost] [BGL] graph/properties.hpp (vertex_property) [PATCH]
From: Shaun Jackman (sjackman_at_[hidden])
Date: 2012-10-01 16:24:41


Great. Glad to hear it's fixed. Created a ticket here:
https://svn.boost.org/trac/boost/ticket/7455

On 1 October 2012 11:31, Jeremiah Willcock <jewillco_at_[hidden]> wrote:
> On Mon, 1 Oct 2012, Shaun Jackman wrote:
>
>> Hi,
>>
>> vertex_property and edge_property should inherit publicly from
>> vertex_property_type and edge_property_type. A patch follows.
>>
>> ./ContigGraph.h:55:39: error: 'type' is a private member of
>>
>> 'boost::mpl::eval_if<boost::detail::has_vertex_property_type<DirectedGraph<ContigProperties,
>> Distance>, mpl_::bool_<false>>,
>>
>> boost::detail::get_vertex_property_type<DirectedGraph<ContigProperties,
>> Distance>>, boost::no_property>'
>> typedef typename vertex_property<G>::type vertex_property_type;
>> ^
>> /usr/local/include/boost/graph/properties.hpp:251:49: note: constrained by
>> implicitly private inheritance here
>> template <class Graph> class vertex_property: vertex_property_type<Graph>
>> {};
>
>
> I agree; that is fixed in r80811. Could you please file these kinds of
> things as bug reports so that they can be listed in the release notes,
> though? Thank you.
>
> -- Jeremiah Willcock
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk