Issue 140773
Summary Failure to deduce nested template arguments
Labels new issue
Assignees
Reporter Caslyn
    After https://github.com/llvm/llvm-project/pull/138122, clang++ is failing to deduce a template parameter when instantiating a templated class object inside the ctor of another templated class object. In this case, we make an assignment to a `static constexpr` typed variable (ie we are not initializing a `static inline auto` variable).

@dty2 - could you help take a look into this and help determine whether this is an unintended consequence of https://github.com/llvm/llvm-project/pull/138122?

Attached is a reproducer that emulates this new compilation failure:
[startup-random-867b56.zip](https://github.com/user-attachments/files/20353121/startup-random-867b56.zip)

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to