コンパイルエラー「field has incomplete type」
790 ワード
linux C++ , "field has incomplete type"。 , , 。
, , , , 。
:
class TFriger; template
class TRecordList; class TCatch { public: TCatch(TObj * pObj); virtual ~TCatch(); private: TRecordList tFriger; // TFriger }; class TCatch { public: TCatch(TObj * pObj); virtual ~TCatch(); private: TRecordList *pFriger; // };