|
Boost Users : |
Subject: Re: [Boost-users] [spirit] Cannot find assig_a in spirit 2.1
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-09-26 22:39:53
AMDG
Christian Henning wrote:
> Thanks for the quick reply. This looks very interesting. But the
> following snippets bombs on my machine using VS2005.
>
> #include <boost\algorithm\string.hpp>
> #include <boost\spirit\include\qi.hpp>
>
> namespace qi = boost::spirit::qi;
> namespace ascii = boost::spirit::qi::ascii;
>
> int _tmain(int argc, _TCHAR* argv[])
> {
> std::string number( "123" );
>
> int i;
> qi::parse( number.begin()
> , number.end()
> , qi::int_
> , ascii::blank
> , i
> );
>
> return 0;
> }
>
Try using phrase_parse instead of parse.
In Christ,
Steven Watanabe
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net