<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/59300>59300</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang] Accept -std=c++23/gnu++23 rather than c++2b, like gcc does
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Romain-Geissler-1A
</td>
</tr>
</table>
<pre>
Hi,
gcc already accepts the C++ dialects `c++23`/`gnu++23`, and checking right now on Compiler Explorer it seems clang does not. C++23 isn't finalized yet, however it is shaping up and has already reached the feature freeze phase. Most likely it will be officially formalized in 2023. Is it time to start accepting `-std=c++23`/`-std=gnu++23` in clang ?
Cheers,
Romain
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkksFyozgQhp9GXLrsEpLB4cDBsZfdPcxl3kCIBmkiJEot4nGefkrYySSVC1RJre7-v_9XRHbyiC2rnll1KdSaTIjtzzAr63f_oiVyGHflqejDcGv_s0ycGb8wfrp_J61BuYhquIHSGpdEkAzCmYlnJp5hsMqhTgSs5vp-JiSrORMdq_nk1y9nZ1B-AG1Qv1g_QbSTSeDDFYKHc5gX6zDCP78XFyJGsAkIcSbQTvkJhoAEPqT9-3AhwZJn4phgtF45-4YD3DDlOSZc8fXewxKQUUseuC7bAkbRh6iIShscNlEjqrRGhDEiviEsRhHu4UegBM6-oLvldlfrHPQIYRyttsq5G4whzo_x1oPgQu7hf8rFyc4IKQAlFdMDYF6E1XxHaWDy8h3a4-Iru9z4joHJ7rNBZ4MY6cO1u7HF0MqhkY0qsC3rumkafmyqwrSHJ9nXlRzLvnwa6lpWgz6W8oCKH1ByXRe2FVyIUnBRHkou-f4ojjg0T31dNXIc6yM7cJyVdXvnXud9iFNhiVZsq0ZyXjjVo6MtbEJ4vMJ2yYTI2YttfrPr14nYgTtLif52STa5LaWbSlZd4LTRgm-cRPcJDUSVDEZIRnl4r-lzArJjkOObc1Os0bUmpYWYPGXMoptsMmu_12FmostrPH67JYZfqBMT3bY8MdFt4v4EAAD__-pDBsY">