You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[clang] Improve deduction of reference typed NTTP (#110393)
This improves the existing workaround for a core issue introduced in
CWG1770.
When performing template argument deduction for an NTTP which the
parameter side is a reference, instead of dropping the references for
both sides, just make the argument be same reference typed as the
parameter, in case the argument is not already a reference type.
Fixes #73460
Copy file name to clipboardExpand all lines: clang/docs/ReleaseNotes.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -465,6 +465,7 @@ Bug Fixes to C++ Support
465
465
- Fixed an assertion failure in debug mode, and potential crashes in release mode, when
466
466
diagnosing a failed cast caused indirectly by a failed implicit conversion to the type of the constructor parameter.
467
467
- Fixed an assertion failure by adjusting integral to boolean vector conversions (#GH108326)
468
+
- Fixed an issue deducing non-type template arguments of reference type. (#GH73460)
468
469
- Mangle friend function templates with a constraint that depends on a template parameter from an enclosing template as members of the enclosing class. (#GH110247)
469
470
- Fixed an issue in constraint evaluation, where type constraints on the lambda expression
470
471
containing outer unexpanded parameters were not correctly expanded. (#GH101754)
0 commit comments