title: Inserting into std::map using struct fails with constructor error
body: <p>I have the following...</p>
  
  <pre><code>struct MessageLetter{
    char letter;
    int count;
    MessageLetter(char letter, int freq)
    : letter(letter), count(freq)
    {}
  };
  ...
  std::map&lt;char, MessageLetter&gt; lList;
  ...
  MessageLetter m = MessageLetter(letter,1);
  lList[letter] = m;
  </code></pre>
  
  <p>When I try to compile I get...</p>
  
  <pre><code>no matching constructor for initialization of 'MessageLetter'
              ::new ((void*)__p) _Tp();
  </code></pre>
  
  <p>Gotta be something easy anyone have an idea?</p>