[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-users
Subject: Re: [Boost-users] [BGL] Why this is not compiled?
From: Doug Gregor <dgregor () cs ! indiana ! edu>
Date: 2006-02-27 16:09:49
Message-ID: af702e112e36ded07f9f887fe8cb6a53 () cs ! indiana ! edu
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic