不能編譯任何example 在Ubuntu 16.04 $ g++ -std=c++14 main.cpp
In file included from /usr/include/boost/spirit/home/x3/nonterminal.hpp:14:0,
from /usr/include/boost/spirit/home/x3.hpp:20,
from
我基於我的應用程序關閉這個例子,並得到完全相同的結果。出於某種原因,輸入字符串的內容全部被解析爲融合結構'comments',並且沒有任何東西被解析爲融合結構'numbers'。所以不知道我在哪裏錯了。 namespace client {
namespace ast {
struct number {
int num1;
int num2;