首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

CArray<CList,CList&> m_SList;//如何不行

2013-12-10 
CArrayCList,CList& m_SList//怎么不行?!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![解决办法]First, You cant

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;

热点排行