title: Getting a list of values from a map
body: <p>Is there an stl way to get a list of values from a map?</p>
  
  <p>i.e, I have:</p>
  
  <pre><code>std::map&lt;A,B&gt; myMap;
  </code></pre>
  
  <p>and I would like a function that will return just the list of values, i.e, <code>std::list&lt;B&gt;</code> (or set for that matter.
  Is there a built-in stl way to do this?</p>