The same code is working fine if i use
 
              boost::target(*iedge_s,g) or boost::source(*iedge_s,g);

That's because these functions return a vertex_descriptor.


my Graph is :
typedef boost::adjacency_list<boost::listS,boost::listS,boost::bidirectionalS, EdgeProperties *> Graph;

Your graph doesn't seem to have edge properties. The EdgeProprties* type appears to be substituted for the VertexProperties parameter, not EdgeProperties.

 
Andrew Sutton
andrew.n.sutton@gmail.com