[clang] Bugfix for chosing the correct deduction guide (PR #66487)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 3 09:21:58 PDT 2023
================
@@ -390,6 +390,11 @@ Bug Fixes to C++ Support
we now produce a diagnostic. Fixes:
(`#65522 <https://github.com/llvm/llvm-project/issues/65522>`_)
+- Fixed a bug where clang incorrectly considered implicitly generated deduction
+ guides from a non-templated constructor and a templated constructor as ambiguous,
+ rather than prefer the non-templated constructor as specified in
+ [standard.group]p3
----------------
erichkeane wrote:
```suggestion
[standard.group]p3.
```
https://github.com/llvm/llvm-project/pull/66487
More information about the cfe-commits
mailing list