title: Pushing a static array into a std::vector?
body: <p>I'm trying to do the following:</p>
  
  <p>I have:</p>
  
  <pre><code>std::vector&lt;std::vector&lt;GLdouble[2]&gt;&gt; ThreadPts(4);
  </code></pre>
  
  <p>then I try to do:</p>
  
  <pre><code> GLdouble tmp[2];
    while(step--)
    {
  
  
     fx   += dfx;
     fy   += dfy;
     dfx  += ddfx;
     dfy  += ddfy;
     ddfx += dddfx;
     ddfy += dddfy;
     tmp[0] = fx;
     tmp[1] = fy;
     ThreadPts[currentvector].push_back(tmp);
    }
  </code></pre>
  
  <p>But the compiler says:</p>
  
  <p>Error 15 error C2440: 'initializing' : cannot convert from 'const GLdouble [2]' to 'double [2]' C:\Program Files\Microsoft Visual Studio 9.0\VC\include\vector 1211</p>
  
  <p>How could I do this then? 
  I'm using VS 2008 and don;t have std::array, and I don't have boost.</p>
  
  <p>Thanks</p>