11 Mar
2009
11 Mar
'09
4:40 p.m.
On Thu, May 1, 2008 at 5:29 PM, James Sutherland
Can you do something like
typedef boost::graph_traits<Graph>::edge_descriptor Edge; Edge e; .... std::set<Edge> edges; edgeSet.insert( e );
I am getting compiler errors that imply that the edge_descriptor does not implement the < operator.
Thanks,
I'm experiencing the same issue... I'd like defining an operator< for the specific edge_descriptor I have (i.e., I use boost::vecS for the edge container), but I don't know what kind of type edge_descriptor is? Or maybe, I can safety convert an edge_descriptor to a standard type like 'int'? Regards, -- Johan