
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@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users