Boost Spirit 2.4.2: Cannot extract a string

后端 未结 1 714
悲&欢浪女
悲&欢浪女 2021-02-11 05:21

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

1条回答
  •  名媛妹妹
    2021-02-11 06:04

    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)
提交回复
热议问题