title: STL collection with multiple values for a single key
body: <p>From sql I have a output: </p>
  
  <pre>
  id value
  123 xxx
  124 xxx
  124 yyy
  125 xxx
  </pre>
  
  <p>I handle this output in c++ code where I want to use 123, 125 ids(unique) and  124 which has multiple values separately.</p>
  
  <p>Basically, I want to store unique and multivalue ids separately and later want to retrieve them separately.</p>
  
  <p>I can use any stl container.</p>
  
  <p>say container1 stores unique values</p>
  
  <pre>
  123 xxx
  125 xxx
  </pre>
  
  <p>container2</p>
  
  <pre>
  124 xxx
  124 yyy
  </pre>
  
  <p>In map can I have unique key value pairs: <code>(123-&gt;xxx)</code>, <code>(125-&gt;xxx)</code> and <code>124-&gt;xxx,yyy</code> separately?</p>
  
  <p>Can someone help me to create a better design?</p>