<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:lambert.clara@yahoo.fr" title="Lambert Clara <lambert.clara@yahoo.fr>"> <span class="fn">Lambert Clara</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - dllexport on constructors with in-class initializers causes error"
   href="https://bugs.llvm.org/show_bug.cgi?id=40006">bug 40006</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>FIXED
           </td>
           <td>---
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - dllexport on constructors with in-class initializers causes error"
   href="https://bugs.llvm.org/show_bug.cgi?id=40006#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - dllexport on constructors with in-class initializers causes error"
   href="https://bugs.llvm.org/show_bug.cgi?id=40006">bug 40006</a>
              from <span class="vcard"><a class="email" href="mailto:lambert.clara@yahoo.fr" title="Lambert Clara <lambert.clara@yahoo.fr>"> <span class="fn">Lambert Clara</span></a>
</span></b>
        <pre>Hello!

Thanks for the change, unfortunately it only solve the use case I pasted, which
doesn't cover all of them :(

Here is a snipped that still exhibits the problem:

template<typename T>
class Arr
{
    T* m_data;
};

struct Object
{
    struct SubObject
    {
        __declspec(dllexport) SubObject() = default;
        unsigned int m_value {0};
    };
    Arr<SubObject> array;
};</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>