<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:johelegp@gmail.com" title="Johel Ernesto Guerrero Peña <johelegp@gmail.com>"> <span class="fn">Johel Ernesto Guerrero Peña</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Destructor of std::any should not propagate exceptions"
   href="https://bugs.llvm.org/show_bug.cgi?id=51758">bug 51758</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>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>INVALID
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Destructor of std::any should not propagate exceptions"
   href="https://bugs.llvm.org/show_bug.cgi?id=51758#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED INVALID - Destructor of std::any should not propagate exceptions"
   href="https://bugs.llvm.org/show_bug.cgi?id=51758">bug 51758</a>
              from <span class="vcard"><a class="email" href="mailto:johelegp@gmail.com" title="Johel Ernesto Guerrero Peña <johelegp@gmail.com>"> <span class="fn">Johel Ernesto Guerrero Peña</span></a>
</span></b>
        <pre>You're right about `std::any` being fine. Turns out my first example was first
throwing on the temporary used to construct the `std::any` object:
<a href="https://godbolt.org/z/39bhvW4Yf">https://godbolt.org/z/39bhvW4Yf</a>.

However, the runtime requirement on not throwing has no effect on whether it
statically satisfies `std::destructible`.

Thank you.</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>