[libcxx-commits] [libcxx] [libcxx] patch for implementing ranges::find_last (PR #67270)
Christopher Di Bella via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 16 15:48:20 PDT 2023
cjdb wrote:
> > I'd prefer it if we implemented `find_last` and `find_last_if` independently, instead of deferring to an implementation function.
>
> Why?
It simplifies the implementation so that we can directly call `x == y`, rather than having to go through `std::invoke`, which is currently opaque and bad for debug info.
https://github.com/llvm/llvm-project/pull/67270
More information about the libcxx-commits
mailing list