我在我的Windows系统上安装了http://sourceforge.net/projects/clangonwin/.我的问题是:
请考虑以下代码:(Boost.Spirit 2.5.1)
qi::parse(str.begin(), str.end(), (+qi::alpha)[[](const string& s){cout << s<< '\n';}]
>> (*(qi::char_(',') | qi::char_('\'')))
>> qi::uint_[[](int integer){cout << integer << '\n';}]);
Run Code Online (Sandbox Code Playgroud)
该[[](int integer){cout << integer << '\n';}]作品,但类似的代码+qi::alpha没有.
我该如何更正代码?
boost ×1
boost-spirit ×1
c++ ×1
c++11 ×1
clang ×1
installation ×1
libstdc++ ×1
llvm ×1
windows ×1