|
Boost Users : |
Subject: Re: [Boost-users] [BGL] VertexProperties as a Nested Type
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-05-19 18:59:35
Jeremiah,
> property<graph_type, vertex_bundle_t>::type
property_map<graph_type, vertex_bundle_t>::type temp1;
string str1(temp1);
give me the following error message:
main.cpp:71: error: 'type' is not a member of 'boost::property<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::no_property, boost::no_property, boost::listS>, boost::vertex_bundle_t, boost::no_property>'
And, replacing "property" above with "property_map", I get the following error:
main.cpp:72: error: no matching function for call to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(boost::vec_adj_list_vertex_property_map<boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::no_property, boost::no_property, boost::listS>, boost::adjacency_list<boost::vecS, boost::vecS, boost::directedS, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::no_property, boost::no_property, boost::listS>*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, boost::vertex_bundle_t>&)'
Any ideas?
TIA,
--Hossein
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