24 Oct
2011
24 Oct
'11
9:11 p.m.
On Mon, 24 Oct 2011, giridhar wrote:
Hello All, I have to access an edge in a vector called border_edge through an edge descriptor. For example
for( vector<Edge>::iterator j=border_edge.begin();j!=border_edge.end();++j) { Edge e = t1[*j]; // I am getting error saying that No suitable conversion for Edge to Edgep exits }
Assuming your graph is named t1, it looks like you are getting your edge property, but trying to put into a variable whose type is your edge descriptor. The edge descriptor is just *j. -- Jeremiah Willcock