<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/112016>112016</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
constexpr not allowed on member function of type with a virtual base.
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
i-photon
</td>
</tr>
</table>
<pre>
Virtual constexpr has been allowed since C++20.
What happened?
Here's my sentiment: https://godbolt.org/z/f8hYGYMab
This is causing a needless headache trying to re-use interfaces in constexpr.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckTGP2zAMhX-NvBAxJMpxkkFD0oPbpVvR4kbZpiMVsmSIctL01xfJBU3RhQT4wEc-fJbZnyOREduT2L5Vdi0uZeM3i0slxapP481897msNsCQIhf6tWRwlqEnimBDSFcagX0cCD4JPAk8oayFfBPy-MPZAs4uC0Uahe4-ph_1C2USuGOYb8AUi58pFqGP4EpZWOijwE5gd05jn0KpUz4L7H4L7Ka9e__8_tX2_7p9c57BMwx2ZR_PYCESjYGYwZEd7eAISr7dpZIg02ZlAh8L5ckOxODjK11djUaPB32wFRm1w33b6nbXVM70OKlRNttRWZr2u2170Fpq0o3eq4msrLxBiY2SSqkWlWrqcZKTnXTfSmq2LWrRSJqtD3UIl_keqvLMKxmlUKq2CranwA8YiJGu8FAF4p1NNvelTb-eWTQyeC78sim-BDIvQjGVv3BShJnmnjJMaxyKTxHSBOW2EFx9cWDh8iTcW6a6WnMw_1Hwxa19PaRZYHe_-WybJaefNBSB3eNTFtg9o1wM_gkAAP__l_zEpg">