efriedma-quic wrote:

Do you need to check if the lambda is templated?  For example, the following 
doesn't compile:

```
auto GetNonCapturingLambda() { return []<T>(){ return 42; }; }
auto f() { return GetNonCapturingLambda() == GetNonCapturingLambda(); }
```

https://github.com/llvm/llvm-project/pull/68506
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to