Hi Alec,
just in case this isn't solved for you yet...
On 1/9/07, Alec Resnick
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