Boost logo

Boost :

From: luxin (luxin_at_[hidden])
Date: 2002-01-22 06:15:14


Hi all,

I test Dijkstra example in the Graph library, using Borland C++
compiler 5.5, get the invalid template argument in the following
sentence

std::vector<vertex_descriptor> p(num_vertices(g));

stuation remain if I change to

std::vector<vertex_descriptor> p(vertices(g));

but compiler can pass

std::vector<int> d(num_vertices(g));

Regards,
Xin


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk