Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Error C2679 when inserting edge property to subgraph
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2013-03-22 14:54:39


On Sat, 23 Mar 2013, Nicholas Mario Wardhana wrote:

> Hi all,
>
> Could somebody tell me how to add a bundled edge property for subgraph, please?

(snip)

> put(get(edge_bundle,g), 0, e); // error here

"0" is not a valid edge descriptor. If you want to store the property
on the edge you added earlier, you'll need to keep its edge descriptor
(returned from add_edge) and use that as the second argument to put().

-- Jeremiah Willcock


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