28 Dec
2007
28 Dec
'07
5:48 p.m.
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