title: Does std::string move assignment causes memory leak
body: <p>Does the below program has memory leak ?</p>
  <pre><code>main()
  {
  std::string DD(&quot;paramhansa&quot;);
  std::string SS(&quot;yogananda&quot;);
  
  DD = std::move(SS);
  }
  </code></pre>
  <p>Please consider string is large enough to be stored in heap.</p>
  <p>What happened to the memory pointed by DD ?
  Is it destroyed in the move assignment ?
  Is this a memory leak ?</p>