8 Apr
2009
8 Apr
'09
2:53 a.m.
oh sorry, forgot to mention, after
vector< Graph& > subG;
I should have something like:
subG.resize(2);
subG(0) = G.subgraph();
and subgraph() returns a Graph&
On 7 abr, 21:04, "James C. Sutherland"
On Apr 7, 2009, at 4:59 PM, fabricio wrote:
typedef subgraph< adjacency_list > Graph;
Graph G;
what I want is to create a:
vector< Graph& > subG;
but the usage of & here is illegal.
Why not use pointers? vector
subG; or vector< boost::shared_ptr<Graph> > subG; _______________________________________________ Boost-users mailing list Boost-us...@lists.boost.orghttp://lists.boost.org/mailman/listinfo.cgi/boost-users