title: Constructor similar to std::map or std::vector in a class
body: <p>I'm creating a class and I want to know how to create a constructor similar to the <code>std::map</code> or <code>std::vector</code> style.</p>
  
  <pre><code>std::map&lt;std::string, std::string&gt; map = {
      {"foo", "bar"},
      {"biz", "buz"},
      {"bez", "boz"}
  };
  </code></pre>
  
  <p>The difference is that I don't want my class to ask for types that wants to accept, just like <code>std::map</code> does.</p>
  
  <pre><code>std::map&lt;std::string, std::string&gt;
  </code></pre>
  
  <p>I want my class to accept that style of arguments:</p>
  
  <pre><code>{
      {"foo", "bar"},
      {"biz", "buz"},
      {"bez", "boz"}
  };
  </code></pre>
  
  <p>But with defined type. (std::string, Typer)</p>
  
  <p>The 'Typer' is a class that I will insert as value on the <code>std::map</code>.</p>