Ticket #10895: boost_copy_component.patch
File boost_copy_component.patch, 990 bytes (added by , 7 years ago) |
---|
-
graph/copy.hpp
395 395 CopyVertex cv, CopyEdge ce) 396 396 : g_out(graph), orig2copy(c), copy_vertex(cv), copy_edge(ce) { } 397 397 398 template <class Vertex , class Graph>398 template <class Vertex> 399 399 typename graph_traits<NewGraph>::vertex_descriptor copy_one_vertex(Vertex u) const { 400 400 typename graph_traits<NewGraph>::vertex_descriptor 401 401 new_u = add_vertex(g_out); … … 498 498 499 499 return detail::copy_component_impl 500 500 (g_in, src, g_out, 501 make_vertex_copier(g_in, g_out),502 make_edge_copier(g_in, g_out),501 detail::make_vertex_copier(g_in, g_out), 502 detail::make_edge_copier(g_in, g_out), 503 503 make_iterator_property_map(orig2copy.begin(), 504 504 get(vertex_index, g_in), orig2copy[0]), 505 505 bgl_named_params<char,char>('x') // dummy param object