0
我正在上线VC++ 2010 C2061错误:VC++ 2010 C2061错误
#include "queryevaluator_p.h"
class QueryEvaluator {
public:
vector<AttrValue>* getCandidateList(QueryClause cl, int pos, ResultSet *computedRes);
...
Error 41 error C2061: syntax error : identifier 'ResultSet' h:\dropbox\sch\cs3202\code\source\includes\queryevaluator.h 40
ResultSet
是 “queryevaluator_p.h”
struct ResultSet{ //a set of result
bool valid;
vector<ResultRow> rows;
};
定义一个struct
这里有什么问题吗? ResultSet可以在其他地方使用