title: Mapping one vector to different pairs even though the vector is different by the time it maps to each pair?
body: <p>I am having some trouble mapping vectors to integer pairs. My question comes down to, If a have only one vector that am clearing at the beginning of a for loop, filling and then assigning to a pair, will I run into errors because I am assigning the same vector to different integer pairs, even though the vector is different each time when I assign the values?</p>
  
  <p>Essentially, if I have:</p>
  
  <pre><code>map[Pair1]=Vector1;
  Vector1.push_back(1);
  Map[Pair2]=Vector1;
  </code></pre>
  
  <p>Will Pair1 and Pair2 be assigned the same vector of values?</p>