|
Boost Users : |
Subject: Re: [Boost-users] Graph: create_subgraph not defined
From: Trevor Harmon (Trevor.W.Harmon_at_[hidden])
Date: 2010-06-24 12:49:27
On Jun 24, 2010, at 6:50 AM, Jeremiah Willcock wrote:
> Is there a create_subgraph member mentioned in the documentation?
Yes:
http://www.boost.org/doc/libs/1_31_0/libs/graph/doc/subgraph.html
It is also used in the subgraph.cpp example.
> Are you sure that it is not a free (non-member) function rather than
> a method?
Yes, it is used as a member function in the documentation and example
code:
typedef subgraph< adjacency_list > > Graph;
Graph G0(6);
.....
Graph& G1 = G0.create_subgraph();
Trevor
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