title: C++ Map of Vector of Structs?
body: <p>So here's a snippet of my code:</p>
  
  <p><pre><code>
      struct dv_nexthop_cost_pair
      {
        unsigned short nexthop;
        unsigned int cost;
      };</p>
  
  <pre><code>map&lt;unsigned short, vector&lt;struct dv_nexthop_cost_pair&gt; &gt; dv;
  </code></pre>
  
  <p></pre></code></p>
  
  <p>I'm getting the following compiler error:</p>
  
  <pre><code>error: ISO C++ forbids declaration of `map' with no type
  </code></pre>
  
  <p>What's the proper way to declare this?</p>