title: Constructing a std::map from initializer_list error
body: <p>I'm trying to make a class constructor that will take an initializer list and init a map with it like this:</p>
  
  <pre><code>class Test {
      std::map&lt;int, int&gt; m_ints;
  public:
      Test(std::initializer_list&lt;std::pair&lt;int, int&gt;&gt; init):
          m_ints(init)
      {}
  };
  </code></pre>
  
  <p>But that results in a very long error message which I frankly don't understand. What do I need to change to make this work?</p>