title: Issue with object initialization from initializer list
body: <p>I have the following code:</p>
  
  <pre><code>    class A {
          public: 
          A(std::vector&lt;std::shared_ptr&lt;int&gt;&gt;){}
      };
  
      auto x = std::make_shared&lt;int&gt;(0);
      auto y = std::make_shared&lt;int&gt;(1);
  
      auto list = {x, y};
      auto res = std::make_shared&lt;A&gt;({x, y});
  </code></pre>
  
  <p>In the example if I pass to res variable list it compiles, otherwise as in the case of using initializer list directly it fails <a href="http://ideone.com/8jYsDY" rel="nofollow">http://ideone.com/8jYsDY</a></p>
  
  <p>I guess it has to do with the way type deduction works when initializer_list are involved. If this is standard conformant some reference would be good. </p>