I get the following errors when trying to compile the example code
for johnson_all_pairs_shortest_paths. Has anyone ever seen this
before?
Thanks in advance.
d:\swapps\source\axrt\c\boost\boost_1_29_0
\boost\graph\johnson_all_pairs_shortest.hpp(61) : error C2899:
typename cannot be used outside a template declaration
d:\swapps\source\axrt\c\boost\boost_1_29_0
\boost\graph\johnson_all_pairs_shortest.hpp(166) : see reference to
function template instantiation 'bool __cdecl
boost::johnson_all_pairs_shortest_paths(class
boost::adjacency_list >,struct
boost::no_property,struct boost::li
stS> &,int (&)[5][5],struct boost::vec_adj_list_vertex_id_map,struct
boost::adj_list_edge_property_map > const ,enum boost::edge_weight_t>,int)' being
compiled
d:\swapps\source\axrt\c\boost\boost_1_29_0
\boost\graph\johnson_all_pairs_shortest.hpp(84) : error C2899:
typename cannot be used outside a template declaration
d:\swapps\source\axrt\c\boost\boost_1_29_0
\boost\graph\johnson_all_pairs_shortest.hpp(166) : see reference to
function template instantiation 'bool __cdecl
boost::johnson_all_pairs_shortest_paths(class
boost::adjacency_list >,struct
boost::no_property,struct boost::li
stS> &,int (&)[5][5],struct boost::vec_adj_list_vertex_id_map,struct
boost::adj_list_edge_property_map > const ,enum boost::edge_weight_t>,int)' being
compiled
Error executing cl.exe.
test.obj - 2 error(s), 0 warning(s)