title: 'boost::make_shared' : ambiguous call to overloaded function
body: <p>I've got the following class definition:</p>
  
  <pre><code>class Portal
  {
     public:
  
     Portal( const vector&lt;vec3&gt; &amp;vertices, shared_ptr&lt;Sector&gt; target );
  
     ...
  };
  </code></pre>
  
  <p>Somewhere else, I want to create an instanceof said class like this:</p>
  
  <pre><code>auto portal = make_shared&lt;Portal&gt;( portalVertices, target );
  </code></pre>
  
  <p>However, I get the following error message in Visual Studio 2010:</p>
  
  <blockquote>
    <p>error C2668: 'boost::make_shared' : ambiguous call to overloaded
    function</p>
  </blockquote>
  
  <p>Can anyone tell me why? I only define a single constructor. Thank you!</p>