CList <DWORD,DWORD &> slist;
slist.AddTail(dwWith);
CList 的第一个和第二个表示什么?dwWith 是插入到哪个模板参数里面的?

解决方案 »

  1.   

    CList classSupports ordered lists of nonunique objects accessible sequentially or by value.  
    template< class TYPE, class ARG_TYPE = const TYPE& > 
    class CList : public CObject
     
      

  2.   

    TYPE
    Type of object stored in the list. ARG_TYPE
    Type used to reference objects stored in the list. Can be a reference. 
      

  3.   

    表示CList中存放的类型,存放的方式是传引用
      

  4.   

    http://blog.csdn.net/zhoubl668/article/details/3719875