No matching member function for call to std::unordered_map::insert()
<p>I tried to insert a pair of values into <code>map</code> that's declared as :</p>

<pre><code>unordered_map &lt;unsigned int, std::string&gt; map;
</code></pre>

<p>and when I insert the combination of 2 <code>string</code>s to and an <code>unsigned int</code> to <code>map</code>:</p>

<pre><code>map.insert(std::make_pair(count,str1.append(str2)));
</code></pre>

<p>and Xcode say there's "no matching member function for call to 'insert'". I looked at the <a href="http://en.cppreference.com/w/cpp/utility/pair/make_pair" rel="nofollow">overload list</a>, and I am not sure which one I should use in this case. Can someone please tell me?</p>

<hr>

<p>Update: this problem is caused by unsuccesful typedef. I now changed <code>map</code> and defined it as <code>unordered_map&lt;usigned int, string&gt;</code></p>