Boost logo

Boost Users :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2007-12-28 12:48:35


Micha³ Nowotka wrote:
> Hello,
> I'm currently writing simple server implementation and want to parse
> GET request header and load passed attributes. I though with boost
> spirit this will be very simple task but i got some errors I can't
> understand. My function (these are my first lines of code using
...
> rule<> request,method,path,version_id,stri,web_sign,attribs;
...
> return parse(str.c_str(), request, space_p).full;
...
> can you tell me where my code is wrong and why?

See the #1 spirit FAQ on scanner business in the docs. In short

The default template parameters for rule<> is not compatible in your
call to parse using the overload taking a skip grammar.

Jeff Flinn


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