草庐IT

c++ - 如何将 boost::spirit::qi::lexeme 的属性转换为 std::string?

考虑:structs{AttrTypef(conststd::string&);};...和一个带有属性AttrType的规则r:templateusingrule_t=boost::spirit::qi::rule;rule_tr;r=lexeme[alnum>>+(alnum|char_('.')|char_('_'))][_val=boost::phoenix::bind(&s::f,s_inst,_1)];编译时(使用clang),我收到此错误消息:boost/phoenix/bind/detail/preprocessed/member_function_ptr_10.hpp