$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Jeffrey Holle (jeffreyholle_at_[hidden])
Date: 2007-01-21 13:22:58
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?