Boost Spirit 2.4.2: Cannot extract a string

后端 未结 1 1652
旧时难觅i
旧时难觅i 2021-02-11 05:49

Following the resolved question Boost Spirit: Error C2664, Cannot convert 'const boost::phoenix::actor' to 'char' , I have another question:

1条回答
  •  醉酒成梦
    2021-02-11 05:55

    The answer is very simple: 2 structs js_single_quoted_str and js_double_quoted_str must be redefined as the following to make the parser rock:

    qi::rule js_single_quoted_str;
    qi::rule js_double_quoted_str;
    

    0 讨论(0)
提交回复
热议问题