读书人

CArraylt;CList,CListamp;gt; m_SList;//如何

发布时间: 2013-12-10 15:05:55 作者: rapoo

CArray<CList,CList&> m_SList;//怎么不行?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[解决办法]
First, You can't store reference in container. reference can't not be re-seated.
Second, you CList is a template, you need to initialize it to a type:

  CArray<CList<int>, CList<int>*> m_SList;

读书人网 >C++

热点推荐