#ifndef REVERSE_GRAPH_PATCHED_H_ #define REVERSE_GRAPH_PATCHED_H_ #include #include #if defined(BOOST_REVGRAPH_PATCH) // Boost 1.62.0 does not implement degree() in reverse_graph which is required // by BidirectionalGraph, so add it. namespace boost { template inline typename graph_traits::degree_size_type degree(const typename graph_traits::vertex_descriptor u, const reverse_graph& g) { return degree(u, g.m_g); } } // namespace boost #endif // Boost 1.62.0 #endif