StefanPaulet wrote: Indeed, replacing the lambda with a user declared struct with the same `operator()` works: https://godbolt.org/z/8GWv6d88K
May I try to see if I find a way to delay the instantiations of lambda call operators? https://github.com/llvm/llvm-project/pull/117167 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits