Ticket #10895: boost_copy_component.patch

File boost_copy_component.patch, 990 bytes (added by ich.freak@…, 7 years ago)

patch for convenience

  • graph/copy.hpp

     
    395395                         CopyVertex cv, CopyEdge ce)
    396396        : g_out(graph), orig2copy(c), copy_vertex(cv), copy_edge(ce) { }
    397397
    398       template <class Vertex, class Graph>
     398      template <class Vertex>
    399399      typename graph_traits<NewGraph>::vertex_descriptor copy_one_vertex(Vertex u) const {
    400400        typename graph_traits<NewGraph>::vertex_descriptor
    401401          new_u = add_vertex(g_out);
     
    498498   
    499499    return detail::copy_component_impl
    500500      (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),
    503503       make_iterator_property_map(orig2copy.begin(),
    504504                                  get(vertex_index, g_in), orig2copy[0]),
    505505       bgl_named_params<char,char>('x') // dummy param object