title: How do I convert values from a vector to a map in c++?
body: <p>I want to do something like this. Is there a stl algorithm that does this easily?</p>
  <pre><code>for each(auto aValue in aVector)
  {
      aMap[aValue] = 1;
  }
  </code></pre>