Boost logo

Boost Users :

From: Stephan Diederich (stephan.diederich_at_[hidden])
Date: 2007-01-17 10:59:42


Hi Alec,

just in case this isn't solved for you yet...

On 1/9/07, Alec Resnick <aresnick_at_[hidden]> wrote:
> It would seem that I'm having a bit of trouble nailing down the scope
> of a typedef of the adjacency_list type in a class I'm writing. For
> some reason, I keep getting the error "error: 'directed_graph' does
> not name a type" when trying to compile the following code using
> XCode 2.4 with the boost library installed via DarwinPorts and the
> appropriate library and search paths (/opt/local/lib/ and /opt/local/
> include/) set.
[snip]

> directed_graph GARN::get_ruleNetwork(){
> return ruleNetwork;
> }

The error seems to be here. You've missed the scope for your
directed_graph type here. I think this should read
GARN::directed_graph GARN::get_ruleNerwork();

Cheers,
Stephan


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