Boost logo

Boost Users :

Subject: Re: [Boost-users] a vector of subgraphs
From: fabricio (fabricio.olivetti_at_[hidden])
Date: 2009-04-08 14:13:13


oh how dumb of me, it solved my problem :)
thank you everyone

On 8 abr, 14:55, Thomas Klimpel <Thomas.Klim..._at_[hidden]> wrote:
> fabricio wrote:
> > Hi, thanks for the answers, but using Graph* does not work, it is an
> > invalid cast from Graph& to Graph*
> > the Visual C++ gives me a C2440 error (type cast error) when I try to
> > make
> > Graph* g1 = g.subgraph();
>
> Of course you should write
>
> Graph* g1 = &g.subgraph();
>
> Regards,
> Thomas
> _______________________________________________
> Boost-users mailing list
> Boost-us..._at_[hidden]http://lists.boost.org/mailman/listinfo.cgi/boost-users


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