title: How can I insert elements into a multimap?
body: <p>I want to set up a <code>multimap</code> in C++ as follows:</p>
  
  <pre><code>multimap&lt;pair&lt;string, string&gt;, vector&lt;double&gt; &gt; mmList;
  </code></pre>
  
  <p>But how can I insert data into it? I tried the following code, but it doesn't compile:</p>
  
  <pre><code>mmList.insert(pair&lt;string, string&gt;, vector&lt;double&gt;("a", "b", test));
  </code></pre>