<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56782>56782</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
libc++'s debug mode is incompatible with constant initialization
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
ldionne
</td>
</tr>
</table>
<pre>
Because we have `is_constant_evaluated()` in `vector()` & friends, we end up not registering the container in the global database when constant initialization occurs. See https://reviews.llvm.org/D68365 `libcxx/test/std/containers/sequences/vector/constant_initialization.pass.cpp`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1kl1u3CAUhVcDLyiWjcd_D35oGs0GsoDoAjc2FQMuYCft6nuxmknzUAkJOFwO3wFUML_mR9SwJxRvKFY4ULC-tulFB58y-PyCB7gdMhomRyYnWhXWl6IDdQ7xU2WyF6_RojeJye_FjoZi34QPWURcbMoYrV9EXlGQfQbrMRazIiwuKHDCQAYFhWZFLz4gqMhmC87-hmyDF0HrPaZKPCMx57wl1n5j8kot4mHxLVXOHbcqxIWkp35s-64QO6v0-ztJGVOmLmUKdb2jpCLhzx29xjL-CHi938VXjGqDlCq9bWRdcZybvptq2TZScjO3Zmon4Nlmh3M5mMnHsw1JGFT7Im7BoLCJsulw28hROYpt8_q_2HyPbv4ad6HyXVVkQJOS-W_3sMXwg_BpalPazzhdP4ySr7MGI0eU_asZu-7StUNdN4gXGDTWqhuBO1Do0sw6opX_okvWPXE7y1rKepBjQ7tlXSkYG0DZYK_0NF1qdqnxBtbd34DH-WSi0IkWHX2EzwfidId28YjneeQPe14D7TCU2CM_8eeT_Q9mNuNm">