这样定义CTypedPtrList错在何处?
struct wordtype
{
CString strword;
int fre;
};
class CWordShow
{
public:
CList<wordtype,wordtype&> wordset;
CTypedPtrList<CPtrList,wordset&>wordlist;
public:
报错是:
error C2327: 'CWordShow::wordset' : member from enclosing class is not a type name, static, or enumerator