Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2003-12-22 23:06:03


Lucas Galfaso wrote:

> Hi, this is a minimal example of a VC 7.1 ICE using spirit,
> Am I doing something extremely wrong?
>
> Lucas/
>
> #include <boost\spirit.hpp>
>
> int main () {
> std::vector<char> v;
> using namespace boost::spirit;
>
> std::string abc ("9");
> bool r = parse (abc.c_str(), (digit_p[append(v)]) ).full;
> }

You're not saying which version of Spirit you are using.
Using Boost CVS (Spiriti 1.8.0), you must rename append to push_back_a, and
include also boost/spirit/actor.hpp.

Giovanni Bajo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk