10 Apr
2006
10 Apr
'06
8:32 p.m.
Doug Gregor
On Apr 10, 2006, at 2:28 PM, Sebastian Weber wrote:
Hi!
It turned out that the enum-definition
typedef enum{ PARSE_NUM_NODES, PARSE_VERTEX, PARSE_EDGE } State;
which was placed inside the GraphParser::operator() method caused all the trouble. Once I moved that definition outside the function body into the class-defintion, everything worked as it should. I attached the corresponding patch. Would someone please check this and then commit this into cvs boost?
Thanks for the fix! I've checked it into Boost CVS.
How does it happen that Boost code is using CamelCase for types? That's what confused me about the original post. -- Dave Abrahams Boost Consulting www.boost-consulting.com