<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [SOUP] Simplify custom protocols handler implementation"
   href="https://bugs.webkit.org/show_bug.cgi?id=164922#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [SOUP] Simplify custom protocols handler implementation"
   href="https://bugs.webkit.org/show_bug.cgi?id=164922">bug 164922</a>
              from <span class="vcard"><a class="email" href="mailto:darin&#64;apple.com" title="Darin Adler &lt;darin&#64;apple.com&gt;"> <span class="fn">Darin Adler</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=164922#c18">comment #18</a>)
<span class="quote">&gt; I learned it recently
&gt; the hard way in <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - REGRESSION: API test _WKDownload.ConvertResponseToDownload is a flaky timeout"
   href="show_bug.cgi?id=164631">bug #164631</a>. When using the sink paramater there's no move
&gt; constructor for the parameter so that when the value is moved the ownership
&gt; is transferred, but the moved value is not set to nullptr, you have to use
&gt; exchange or swap in that particular case if you need to ensure the value is
&gt; nullptr after the move.</span >

I need to learn more about this. Could you show me a simple test program that demonstrates a moved value and a unique_ptr that is not set to nullptr after the value is moved out? I don’t think this exists, but a sample .cpp file could help me understand.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>