Issue |
103016
|
Summary |
CTAD: Don't ignore explicit deduction guides defined after the first use of the alias template
|
Labels |
clang:frontend
|
Assignees |
|
Reporter |
hokein
|
For alias CTAD, if an explicit deduction guide is written after the first use of the alias template, this deduction guide is not included.
The upcoming CTAD for inherited constructors (#98788) also has the same limitation.
See the test in [clang/test/SemaCXX/cxx20-ctad-type-alias.cpp.](https://github.com/llvm/llvm-project/blob/main/clang/test/SemaCXX/cxx20-ctad-type-alias.cpp#L224-L242)
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs