title: using CArray object in CArray
body: <p>i have a problem to use CArray object in CArray</p>
  
  <pre><code>// .h file
  class ArrClass : public CArray&lt;int, int&gt;
  {
  public:
      int m_id;
      void Func1(){ m_id = 1;};
  };
  
  // .cpp file
  void CTestDlg::OnBnClickedButton1()
  {
      ArrClass arr1;
      CArray&lt;ArrClass, ArrClass&gt; arr2;
      arr2.Add(arr1);     // error !!!! 
  }
  </code></pre>
  
  <p>this error is:</p>
  
  <pre><code>error C2248: 'CObject::CObject' : cannot access private member declared in class 'CObject'
  </code></pre>
  
  <p>how do i resolve it? please help me! </p>