<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/147149>147149</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc++] Deducing this in string_view with LIBCXX_ABI_UNSTABLE
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc++
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
libbooze
</td>
</tr>
</table>
<pre>
One of motivating factors for Deducing this was [performance](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0847r7.html#by-value-member-functions-for-performance
)
Would it be reasonable to implement `string_view` variant that uses Deducing this when users specify `LIBCXX_ABI_UNSTABLE`?
I understand this might require some benchmarks(both runtime and binary size on large projects) before we conclude it is best to do switch, but I think it might be interesting thing to do since `string_view` is heavily used.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsU9GuozYQ_RrzMkpkDCThgYdkbyNdadU-tFX37co2A3jX2NQzBGW_vnJu1N6uVrIMjHyGOcfnaCI3BsRONBfRvBR65SmmzjtjYvyOhYn9vfstIMQB5sjuptmFEQZtOSaCISZ4wX61uciTI9g0gWguC6YhplkHi6J5Eeo0MS8kqrNQV6Gu27bt44JhR9zvYxqFun5lWwp1JatUPjCq_NVHS0JdF71gyi9KPsqLPNXHdNxPPHuhKnPf3bRfcTfjbDDthjVYdjHQbohp93EUeRaqzbs8_xVX34NjMAgJNcWgjUfgCG5ePM4YGMRBEicXxrebw00cJNx0cjow8KQZVkL6kf6EIdcTAS1o3XDPTT6_Xj59-fJ2vry-_fnr73-cL59_EQcpqisIeX6FNfSYiHXo35vMbpwYEv69uoRAcUYwGOw06_SNhDqZyBOkNbCbETLKuKDTHch9R4gBvE4jwpLiV7RMQrVgcIgJYUOwMVi_9piZOwKDxJlzH4E2x3YS6hOYleE1jxK-5WPv4xgEFxgTEj_Z5v0d6YLFn4jlCCbUN-fvWZJ-D-_K_7uKvqv6tmp1gV15bMqjOtSHUzF1eByGqqpVfVB9U0ldoTy0sm5aZdrDqcbCdUqqRh5lU9Z1KU_7SpW6rSrEsixPWFeiljhr5_fe3-bssMIRrdiV9bGs28Jrg54eplfKO2OFujyWyiFIXUbtzDqSqKV3xPRfH3bsH3H5AGtefrCBC_BBC9gcT_ATExRr8t3_kzE6nlazt3EW6pp_-nzsntcp1PXBJKfhSebWqX8CAAD__1dcPeA">