title: no viable conversion from 'string *' (aka 'basic_string<char> *') to 'shared_ptr<string>
body: <p>So I have this code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;list&gt;
  #include &lt;string&gt;
  #include &lt;memory&gt;
  
  using namespace std;
  
  int main() {
  
      {
          shared_ptr&lt;string&gt; str = new string("Marius");
          cout &lt;&lt; str + " MMG";
      }
  
      return 0;
  }
  </code></pre>
  
  <p>By compiling it with:</p>
  
  <pre><code>clang++ -Wall -g -std=c++14 test.c++ -o test
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>test.c++:11:22: error: no viable conversion from 'string *' (aka 'basic_string&lt;char&gt; *') to 'shared_ptr&lt;string&gt;'
                  shared_ptr&lt;string&gt; str = new string("Marius");
  </code></pre>
  
  <p>Where is the mistake?
  With GCC I get the same error.</p>