0_0_26546263_11711.cpp:9:63: error: expected primary-expression before ',' token
template<class Value, class KeyChar = char, int MAX_HASH_SIZE=, int MAX_FAIL_DEPTH=5>
^
0_0_26546263_11711.cpp: In function 'int main()':
0_0_26546263_11711.cpp:406:31: error: template argument 3 is invalid
typedef ACAutoMachine<bool> ACMachine;
^
0_0_26546263_11711.cpp:406:42: error: invalid type in declaration before ';' token
typedef ACAutoMachine<bool> ACMachine;
^
0_0_26546263_11711.cpp:410:31: error: qualified-id in declaration before 'svec'
ACMachine::PatternVec svec;
^
0_0_26546263_11711.cpp:411:9: error: 'svec' was not declared in this scope
svec.reserve(n);
^
0_0_26546263_11711.cpp:418:12: error: request for member 'Build' in 'ac', which is of non-class type 'ACMachine {aka int}'
ac.Build(svec);
^
0_0_26546263_11711.cpp:422:32: error: qualified-id in declaration before 'st'
ACMachine::QueryResult st;
^
0_0_26546263_11711.cpp:423:12: error: request for member 'Query' in 'ac', which is of non-class type 'ACMachine {aka int}'
ac.Query(s, &st);
^
0_0_26546263_11711.cpp:423:22: error: 'st' was not declared in this scope
ac.Query(s, &st);
^
|