<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/79682>79682</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang] Cannot use private templated static member function inside templated using alias with decltype
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
christiandaley
</td>
</tr>
</table>
<pre>
https://godbolt.org/z/7hP3dqE5e
gcc and msvc both compile this code. Removing the template from the function f allows the code to compile with clang.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckc2u0zAQhZ_G2Vg3cpy_ZpHFhZI14g0ce5oM8k_ITHpVnh45BYrY2NJo5uic7xgiXCLAKNpPor0W5uA17aNddyRGE53x8Cjm5B7jyryRqN-FnoSeluTm5LlM-yL09FPoqV-_1u7HlxaEugr1_nwXa6WJTga6WzknXqVNYUMPklckaZODUn6DkO4YF8krSIawecMgb3sK5-R2RMuYorxJ4336oHOaTyWnv3ofmMW9iUtZuLF2Qz2YAsaqV13ddLq7FOuo-ouqhqp2Vs2tczN0rgZnm76Zb23bdwWOWulGVbpXg2r0pQTQoDvXtX1VqaYZRKMgGPSl9_eQwxdIdMDYD91FF97M4OlkqfXpRWidse5j3n-bj4VEozwS00uBkf1ZwPOivcrPJsbE8iCQ2473TOMPFieJDaOVAcIM-wsORkL3795BGanxaOgJx4H1_NigOHb_f5vI6zGXNgWhp2zs9_e27ek7WBZ6OnNS7jlH_RUAAP__HM685w">