title: Map of 2d Vectors
body: <p>I am trying to do the following</p>
  
  <pre><code>std::map &lt;int, std::vector&lt;std::vector&lt;double&gt; &gt; &gt; mapof2Dvectors;
  
  std::vector&lt;std::vector&lt;double&gt; &gt; temp;
  for(int u=0; u&lt;size1; u++){
       temp.push_back( std::vector&lt;double&gt; ());
       temp[u].push_back(somedoublehere);
   }
   mapof2Dvectors[key].push_back(temp);
  </code></pre>
  
  <p>It fails when I try to compile with "error: Semantic Issue: No viable conversion from 'std::vector >' to 'const value_type' (aka 'const std::vector >')"</p>
  
  <p>Any help would be most appreciated.</p>