Partially implement P0315R4.
This patch allow lambda in unevaluated context.
It does not implement temp.deduct/9.
This is a rewrite of https://reviews.llvm.org/D66481 that did
not see progress over the past 2 years.
Differential D103380
[C++20] Support for lambdas in unevaluated context cor3ntin on May 30 2021, 5:40 AM. Authored by
Details
Partially implement P0315R4. This patch allow lambda in unevaluated context. This is a rewrite of https://reviews.llvm.org/D66481 that did
Diff Detail
Event TimelineComment Actions Thanks for working on this, it'll be a huge win for testing in libc++, methinks! Could we get a few more tests please? I'd like to know what happens when we put a lambda directly inside:
Similarly for lambdas inside decltype for each of the above. It'd also be good to have lambdas that aren't called as well. Comment Actions Thanks for working on this!
Is there a reason why?
Comment Actions I think this is incremental progress that LGTM, but let's wait a few days in case @rsmith has concerns before landing. |