<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cleanup: Make DedicatedWorkerThread::create() an inline template method"
   href="https://bugs.webkit.org/show_bug.cgi?id=153612#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Cleanup: Make DedicatedWorkerThread::create() an inline template method"
   href="https://bugs.webkit.org/show_bug.cgi?id=153612">bug 153612</a>
              from <span class="vcard"><a class="email" href="mailto:andersca&#64;apple.com" title="Anders Carlsson &lt;andersca&#64;apple.com&gt;"> <span class="fn">Anders Carlsson</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=153612#c4">comment #4</a>)
<span class="quote">&gt; It seems somewhat strange to have a one-off variadic template here, since
&gt; the number of parameters will never actually vary in practice.
&gt; 
&gt; I wonder if we should consider creating something similar to
&gt; std::make_unique for Ref and RefPtr? That would let us remove this type of
&gt; duplication all over our codebase.</span >

I've thought about that. We could even call it static Ref&lt;T&gt; create(...) and put it on RefCountedBase!</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>