title: How to Copy array of vectors, using = raises error Expression:transposed pointer range
body: <p>I need to copy array of vector passed as reference to constructor/function.</p>
  
  <p>member variable gets the reference to the passed array of vector</p>
  
  <p>while running below code I am getting error Expression: Transposed pointer range</p>
  
  <pre><code>#define MAX 1001
  Constructor( std::vector&lt; int &gt; (&amp;Adj)[MAX])
  {
      (this-&gt;Adj[MAX]) = Adj[MAX];
  }
  </code></pre>