<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/60511>60511</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
libc++ operator<=> string_view is not working properly
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
morozyto
</td>
</tr>
</table>
<pre>
https://godbolt.org/z/G515Kc36h
This is libc++ issue, because without `-stdlib=libc++` option this code compiles fine.
As described in https://libcxx.llvm.org/Status/Spaceship.html, [string.view.comparision] considered complete.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckk9z2ywQhz_N6sJEg0BSooMOdvz6PfTY3jv8WUvbYqGBlR3n03dwmibtBTiwuw_PD5MzTQviCN0eukNlNp5jGs8xxdcbx8pGfxtn5jWD3oE6gjpO0dsYuI5pAnV8BXX8v2u6L073M8gDyN3b-m2mLCiLQNaB2oPaC8p5Q1DPwqIzW0ZxJZ7jxgJ6-ZDZB7KgDx8F0EsRV6a4CC7dXPQoXDyvFDCLEy1Yf564y8JjdoksekGL-Bu7tH15qUO4nH-jf2XDWy6H1TjMM631zOdQAKHbZ060TPWF8FqXmSZRprhAdxAuLpk8JvR3moCMdeVH7Qc9mArHpn_sWjXoVlbzaPrOetWfZCObp1Ov9WC1lUa7xvau1bKiUUmlpZK60VI1Q21s9-ifZHdq_Um7doBW4tlQ-MNe3UWOveyapgrGYsj3_JRa8PpuWZU401hqHuw2ZWhloMz5owsTBxw_5RNXTIZjAv0M-gD6P_Em4XuRULJcIotrTD9pmcSayvVwq7YU_v0hxPNmi7XiPVzet4c1xR_oGNTxDlnc3x_xKwAA__8TYM-Y">