cor3ntin wrote:

I might be stupid but i still do not get why fold expressions are special, they 
should not be.
Can you add tests for 

```cpp
void f(auto...);
template <class = void> void foo() {
 []<class... Is>() {
    f([]() requires (!C<Is>) {}()...);
  }.template operator()<char, int, float>();
}
```

other interesting expansions might be 

```cpp
f<[]() requires (!C<Is>) {}()...>();
//
f({+[]() requires (!C<Is>) {}()});
//
[ ...fs = +[]() requires (!C<Is>) {}()]() {
  (fs(),...);
}
}




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

Reply via email to