Boost logo

Boost Users :

Subject: [Boost-users] a vector of subgraphs
From: fabricio (fabricio.olivetti_at_[hidden])
Date: 2009-04-07 18:59:22


Hello,

I'm creating a program that will require a vector, of dynamic size, of
subgraphs. so let's suppose I have something like this:

typedef subgraph< adjacency_list > Graph;

Graph G;

what I want is to create a:

vector< Graph& > subG;

but the usage of & here is illegal.

Do you guys have any suggestion on how to do it?

regards,


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