Boost logo

Boost Users :

From: Doug Gregor (dgregor_at_[hidden])
Date: 2005-07-22 14:22:12


On Jul 14, 2005, at 4:50 PM, odisseo_at_[hidden] wrote:

> Look at the following code, as you it print out:
>
> -----------
> name: graph
> name sg1: subgraph 3
> name sg2: subgraph 3
> name sg3: subgraph 3
> -----------
>
> when I waiting for
>
> -----------
> name: graph
> name sg1: subgraph 1
> name sg2: subgraph 2
> name sg3: subgraph 3
> -----------
>
> WHY?

get_property on a subgraph always retrieves the property at the root of
the subgraph hierarchy.

> Is this a bug in the library?

Hmmm, good question. I think the behavior you expected is probably the
correct behavior. It's fixed for the next Boost release.

        Doug


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