|
Boost Users : |
Subject: Re: [Boost-users] [BGL] Trying to use subgraph
From: Andrew Sutton (andrew.n.sutton_at_[hidden])
Date: 2009-05-20 13:44:35
>
> 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 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