title: c++ function ptr in unorderer_map, compile time error
body: <p>i am trying to implements an unorderer_map that implements as mapped_type, i was watching some examples that implements these but i cannot make it work.
  here is the code:</p>
  
  <pre><code>#include&lt;string&gt;
  #include &lt;unordered_map&gt;
  namespace Test
  {
    class Example
    {
    public:
      Example()
      {
        auto aPair=std::make_pair("one",&amp;Example::procesString);
        map.insert(aPair);
      }
      void procesString(std::string &amp; aString)
      {
  
      }
      void processStringTwo(std::string &amp; aString)
      {
  
      }
      typedef void(*fnPtr)(std::string &amp;);
      std::unordered_map&lt;std::string,fnPtr&gt; map;
    };
  }
  
  int main()
  {
    return 0;
  }
  </code></pre>
  
  <p>I get this compile time error:</p>
  
  <blockquote>
    <p>error: no matching function for call to 'std::unordered_map, void (*)(std::basic_string&amp;)>::insert(std::pair, void (Test::Example::*)(std::basic_string&amp;)>&amp;)'</p>
  </blockquote>
  
  <p>Thx!</p>