<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:jvapen@gmail.com" title="JVApen <jvapen@gmail.com>"> <span class="fn">JVApen</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Clang-cl generates more code, in this case the Dtor. Resulting in link errors"
   href="https://bugs.llvm.org/show_bug.cgi?id=38354">bug 38354</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>RESOLVED
           </td>
           <td>REOPENED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>INVALID
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Clang-cl generates more code, in this case the Dtor. Resulting in link errors"
   href="https://bugs.llvm.org/show_bug.cgi?id=38354#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - Clang-cl generates more code, in this case the Dtor. Resulting in link errors"
   href="https://bugs.llvm.org/show_bug.cgi?id=38354">bug 38354</a>
              from <span class="vcard"><a class="email" href="mailto:jvapen@gmail.com" title="JVApen <jvapen@gmail.com>"> <span class="fn">JVApen</span></a>
</span></b>
        <pre>Hi Reid,

I've tested this example with /Zc:inline as well as the whole codebase I'm
working on for MSVC. This doesn't cause any linking error at all. This makes me
assume that MSVC handles the implicit default methods differently. (I've also
noticed something similar for classes containing unique_ptr as member, where
Dtor also required extra include)

This makes me assume that this bug ain't just about 'inline' and more about the
default member functions. Would you mind taking a second look?

FYI: My current fix for this code is actually to add: B::~B(){} in the Cpp (+
matching thing in header)</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>