Dear Jeremiah,
What about this (not tested)?
typedef property::const_type pm_type;
The above line didn't work so I changed property<> to property_map<>. But, the rest of your code doesn't compile either. Please find the build-log in the P.S. Any suggestions?
TIA,
--Hossein
P.S.
main.cpp:69: error: no matching function for call to 'boost::vec_adj_list_vertex_property_map, boost::no_property, boost::no_property, boost::listS>, const boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>*, std::basic_string, const std::basic_string&, boost::vertex_bundle_t>::vec_adj_list_vertex_property_map(boost::vec_adj_list_vertex_property_map, boost::no_property, boost::no_property, boost::listS>, boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>*, std::basic_string, std::basic_string&, boost::vertex_bundle_t>)'
/boost/graph/detail/adjacency_list.hpp:2504: note: candidates are: boost::vec_adj_list_vertex_property_map::vec_adj_list_vertex_property_map(GraphPtr) [with Graph = boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>, GraphPtr = const boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>*, ValueType = std::basic_string, Reference = const std::basic_string&, Tag = boost::vertex_bundle_t]
/boost/graph/detail/adjacency_list.hpp:2503: note: boost::vec_adj_list_vertex_property_map::vec_adj_list_vertex_property_map() [with Graph = boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>, GraphPtr = const boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>*, ValueType = std::basic_string, Reference = const std::basic_string&, Tag = boost::vertex_bundle_t]
/boost/graph/detail/adjacency_list.hpp:2498: note: boost::vec_adj_list_vertex_property_map, boost::no_property, boost::no_property, boost::listS>, const boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>*, std::basic_string, const std::basic_string&, boost::vertex_bundle_t>::vec_adj_list_vertex_property_map(const boost::vec_adj_list_vertex_property_map, boost::no_property, boost::no_property, boost::listS>, const
boost::adjacency_list, boost::no_property, boost::no_property, boost::listS>*, std::basic_string, const std::basic_string&, boost::vertex_bundle_t>&)
main.cpp:78: error: 'vertex_descriptor' was not declared in this scope
main.cpp:78: error: expected ';' before 'v'