templates - I'm trying to use this Boost C++ code and I have a problem -
first i'll explain, i'll paste code. copied code example http://www.boost.org/doc/libs/1_45_0/libs/graph/example/prim-example.cpp , i'm trying work input text file, did boost kruskal algorithm. using debugger, know second argument of function wants "end" array of edges. that's i'm giving function call, don't understand. graph g(edges, edge_array + num_edges, weights, num_nodes); i error 1>c:\users\edmond\documents\visual studio 2008\projects\boost prim algo\boost prim algo\main.cpp(61) : error c2661: 'boost::adjacency_list<outedgelists,vertexlists,directeds,vertexproperty,edgeproperty>::adjacency_list' : no overloaded function takes 4 arguments 1> 1> [ 1> outedgelists=boost::vecs, 1> vertexlists=boost::vecs, 1> directeds=boost::undirecteds, 1> vertexproperty=boost::property<boost::vertex_distance_t,int>, 1> edgeproperty=boost::p...