21 Jan
2007
21 Jan
'07
6:22 p.m.
I'm writing a parser using spirit 1.84. I'd like use phoenix to call a method of an attribute in my definition class. Within my definition class I have: typedef stack<int> Parents; Parents parents_; I've attempted to call the pop method of this container using: [phoenix::bind(&definition::Parents::pop)] I get an error saying that an undefined reference to pop was made. If I change the syntax to: [phoenix::bind(&definition::Parents::pop)()] The error messages are much worst. Is there a way to do such a thing using phoenix?