Boost logo

Boost Users :

Subject: Re: [Boost-users] [graph] ambiguity moving from 1.48 to 1.54
From: Richi Lists (ricul77_at_[hidden])
Date: 2013-10-30 04:40:08


Hi Jeremiah,

that solved the compilation error.
Funny enough, the simplified version doesn't work with boost 1.48. So I
have to use an #if BOOST_VERSION ... if I want to be able to compile
with bot.

Thanks for your help
Richard

On Fr, 2013-10-25 at 10:43 -0400, Jeremiah Willcock wrote:
> (snip)
>
> > //////////////////////////////////////////////////////////////////////////
> > /// types
> > typedef VertexData VertexProps; ///< custom vertex
> > properties
> > typedef boost::property<boost::edge_index_t, int,
> > boost::property<boost::edge_bundle_t, EdgeData> > EdgeProps; ///<
> > custom edge properties
> > typedef boost::adjacency_list<boost::vecS,
> > boost::vecS,
> > boost::undirectedS,
> > VertexProps,
> > EdgeProps> Type; ///< custom graph type
>
> Instead of using boost::property<boost::edge_bundle_t, EdgeData>, just
> use EdgeData. edge_bundle_t is a built-in property map that should not
> be defined as a user property type.
>
> -- Jeremiah Willcock
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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