Boost logo

Boost Users :

Subject: Re: [Boost-users] [BGL] Trying to use subgraph
From: Lindley M French (lfrench1_at_[hidden])
Date: 2009-05-20 16:55:16


FYI, the 2-argument version of add_vertex doesn't work on subgraphs. I suspect the same is true of the other functions that take properties objects.

>
> I've got the new subgraph.hpp and many of the template errors have gone
> away. However, I'm still getting several errors relating to this bit of
> code:
>
>
> //===========================================================================
> // Mutability Traits
> // Just pull the mutability traits form the underlying graph. Note that
> this
> // will probably fail (badly) for labeled graphs.
> template <typename G>
> struct graph_mutability_traits< subgraph<G> > {
> typedef typename graph_mutability_traits<G>::category category;
> };
>
> In particular:
>
> subgraph.hpp(893) : error C2143: syntax error : missing ';' before '<'
> subgraph.hpp(893) : error C2059: syntax error : '<'
> subgraph.hpp(893) : error C2065: 'G' : undeclared identifier
> subgraph.hpp(893) : error C2143: syntax error : missing ';' before '{'
> subgraph.hpp(893) : error C2447: '{' : missing function header (old-style
> formal list?)
>

You may have updated just before my last commit. I had to redistribute some
include statements. I ran the entire test suite just before committing and
everything built, so it /should/ be fine. Let me know if its not.

Andrew Sutton
andrew.n.sutton_at_[hidden]


_______________________________________________
Boost-users mailing list
Boost-users_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