<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59293>59293</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            vector isn't destroying the elements when exceptions are thrown
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          philnik777
      </td>
    </tr>
</table>

<pre>
    `__construct_at_end(size_type)` and `__construct_at_end(size_type, const_reference)` don't destruct the already constructed elements when an exceptions is thrown, which means that the element's won't be destructed if an exception is thrown inside a constructor that uses one of the `__construct_at_end` overloads.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMksHOmzoQhZ_GbEZ_ZMYB4oUX97bKayAHD8GtY0cekzR9-gpC_6RSF10hzXC-MzPHltmfI5ERzf-i-VrZuUwpm-vkQ_Tfu66rTsk9jGhl3w8pcsnzUHpbeopO4IH9T-rL40oCtWgl2OjgH_79Amu_zzRSpjj8lrsUBXYFHD3FUCYCGzJZ94BPJDmgQBeKheE-UQQbgX4MdC0-RQbPUKac7nHxuU9-mOBCNi5V-yRuaoEdw32zPNGnKznw4x_QFxN8ZO8I7GuclJ_kmYkhRYI0ri5_v0MrId0oh2Qd7ypnlNNK24pM3bZaq73cN9VkukHVqJFaZWuNElF1rW27RrmuHqUeKm-Wao2yRlR72exko7tDexhVixKVHcVe0sX6sAvhdtmlfK4880ym0ahVFeyJAq-hI0a6w9oUiMsbyGbRfJzmM4u9DJ4LvyjFl0DmRuvent_ySg8fz-_33dJ5i8Zm2u5YzTmYqZQrC_WfwKPA49mXaT7thnQReFz8ts_HNadvNBSBx3VKFnhct_gVAAD__xPA7X8">