[Error] E:\c++\SingleList.cpp:129: request for member `IsEmpty' in `s', which is of non-aggregate type `const SingleList<int> ()()'这是什么类型的错误呀,
參考答案:non-aggregate type 就是C 语言的变量基本类型(简单变量),例如整型,实型,布尔型。aggregate type 是复杂类型,例如结构。
SingleList.cpp的129行错,成员函数IsEmpty(),应当返回布尔型之类的简单变量。