Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Can't copy_graph the simplest graph with bundled properties
From: Paolo Bolzoni (paolo.bolzoni.brown_at_[hidden])
Date: 2015-12-01 21:10:17


I am afraid you have to give a custom edge and vertex copier.

Otherwise, just copy manually. It is just two loops, one for vertices
(and relative properties) and one for edges. The only point is that
you might need to keep a temporary map between old vertex descriptors
and new one to make the edges.

On Thu, Nov 26, 2015 at 2:53 AM, Alberto Santini
<santini.alberto_at_[hidden]> wrote:
> The following code fails. Is it intended? If it is, how to copy a graph with
> bundled properties?
>
> http://coliru.stacked-crooked.com/a/b1017359126ab6f6
>
> Thanks,
> AS
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net