
I upgraded from boost 1.45 to 1.48 and there are some breaking changes
related to reverse_graph
The main problem that I encounter is that boost::edge(u ,v, graph)
returns a edge_descriptor to the graph that underlies reverse_graph,
rather than reverse_graph itself . The following therefore does not
compile:
template<typename Graph>
void foo(Graph& graph)
{
boost::graph_traits<Graph>::edge_descriptor e = boost::edge(0, 1,
graph).first;
}
int main() {
boost::adjacency_list