<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/67959>67959</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang can't deduce the correct deduction guide. [C++17][clang:Frontend]
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
HoBoIs
</td>
</tr>
</table>
<pre>
If there are two auto generated deduction guides from a templated and a non templated constructor we should choose the guide generated from the non-templated constructor. But clang can't deduce which one should we use. (gcc can)
https://godbolt.org/z/ee3e9qG78
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUd2OmzwUfBpzc7TIHEOACy7CRnzfPoaxT4DK8Un906h9-gpStdFqb2zZHs_MmdExbosnGkQziuZS6JxWDsP_PPJHLGa2P4ePK6SVAoEOBOnBoHNiWMhT0IksWLLZpI09LHmzFOEa-AYaEt3u7kBob0GDZ_9yZ9jHFLJJHOBBEFfOzoJZmSPtek-yF5mDdX_w7N--5ClhzAmM034Bo73ANj3NETzWzazA_q_QgyBHKkFgtxjzhPdCXoQ8P9c1pXsU6ixwEjgtbGd2qeSwCJx-CZyIFPXf_2u710-FHZTtVa8LGqpTf0LVnGRdrEMl57qXbd_X11qp3qKhuZG17uq56ZTCYhtQoqqkRLmf67KqOm1td5VatdcZpagl3fTmSud-3HYfxRZjpuHU9k1fOD2Ti0eJiEcCAnHvMww7_m3OSxS1dFtM8R9D2pKj4f2rwPagDYdAJn0uuATRjO8CR4Fj1YrmIprxKanOU2CfyNtdOgc3fEpxS2ueS8M3gdPu4s_2dg_8jUwSOB1DRYHTMdfvAAAA__-bjdne">