title: incompatible types in assignment of 'std::string {aka std::basic_string<char>}' to
body: <pre><code>int main()
  {
  
  std::string my_string= "16657";
  std::map&lt;std::string, std::string[2]&gt; m_msg_int;
  std::string arrId[2];
  arrId[0] = "ABC";
  arrId[1] = "XYZ/CDE";
  m_msg_int[my_string] = arrId[2];
  std::cout&lt;&lt;"MSGID"&lt;&lt;msgId[0]&lt;&lt;endl;
  
   }
  </code></pre>
  
  <p>incompatible types in assignment of ‘std::string {aka std::basic_string}’ to ‘std::map, std::basic_string [2]>::mapped_type {aka std::basic_string [2]}’     </p>