
27 Feb
2006
27 Feb
'06
4:09 p.m.
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;
[snip]
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 node_name_map1(boost::get((my_ver_p::node_name_type my_ver_p::*)&my_ver_p::m_node_name, c)); Doug