Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2006-02-27 11:09:49

On Feb 14, 2006, at 9:08 AM, Dmitry Bufistov wrote:
> if change graph representation to following
> typedef boost::adjacency_list<boost::listS, boost::listS,
> directedS, basic_vertex_properties<> > adj_list1_t;
> What is wrong here?
> Any help would be greatly appreciated,

Your code is correct; it looks like there is a bug in the Boost Graph
Library. While I'm working on a fix for 1.34.0, you can force a case of
the member pointer type to like this:

      boost::property_map<adj_list1_t, my_ver_p::node_name_type
my_ver_p::* >::type
my_ver_p::*)&my_ver_p::m_node_name, c));


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at