title: Can two Key Values be same in a Map
body: <p>I have defined a Map </p>
  
  <pre><code>boost::unordered_map&lt;"std::string,std::string"&gt;m_mapABC ;
  </code></pre>
  
  <p>And I Store values in it Like m_mapABC[strValue1]=strValue2;</p>
  
  <p>And Assume that i store 10 entries to the map.In that case can the same  Key Value be used to store 10 different Values..or  will it be over written every time...I guess it would.<br>
  In that case using  <code>std::pair</code> would help i guess.</p>
  
  <pre><code>std::map&lt;"std::string, std::pair&lt;"std::string", bool&gt;&gt;myMap2
  </code></pre>
  
  <p><code>std::pair</code> can have 2 Key Values Equal(I guess I am Right)...What will be the bool value in each case,will it be TRUE in the first case and FALSE the second time or vice-versa?.</p>
  
  <p>I also heard about <code>std::tuple</code> or <code>boost::tuple</code> where a single Key can be used to Store Different Values.</p>
  
  <p>I am not very clear about how to iterate through  them...i need help</p>