|
Boost Users : |
From: chul_de_condares (ben.roy_at_[hidden])
Date: 2002-11-05 00:50:13
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::vec
S,struct boost::vecS,struct boost::directedS,struct
boost::no_property,struct boost::property<enum
boost::edge_weight_t,int,struct boost::property<enum
boost::edge_weight2_t,int,struct boost::no_property> >,struct
boost::no_property,struct boost::li
stS> &,int (&)[5][5],struct boost::vec_adj_list_vertex_id_map<struct
boost::no_property,unsigned int>,struct
boost::adj_list_edge_property_map<struct boost::directed_tag,int,int
const &,unsigned int,struct boost::property<enum
boost::edge_weight_t,i
nt,struct boost::property<enum boost::edge_weight2_t,int,struct
boost::no_property> > 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::vec
S,struct boost::vecS,struct boost::directedS,struct
boost::no_property,struct boost::property<enum
boost::edge_weight_t,int,struct boost::property<enum
boost::edge_weight2_t,int,struct boost::no_property> >,struct
boost::no_property,struct boost::li
stS> &,int (&)[5][5],struct boost::vec_adj_list_vertex_id_map<struct
boost::no_property,unsigned int>,struct
boost::adj_list_edge_property_map<struct boost::directed_tag,int,int
const &,unsigned int,struct boost::property<enum
boost::edge_weight_t,i
nt,struct boost::property<enum boost::edge_weight2_t,int,struct
boost::no_property> > const ,enum boost::edge_weight_t>,int)' being
compiled
Error executing cl.exe.
test.obj - 2 error(s), 0 warning(s)
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