[libcxx-commits] [libcxx] [libc++] Optimize std::min_element (PR #100616)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Mar 27 08:25:42 PDT 2025


================

----------------
ldionne wrote:

Can we do the same for `max_element`? Can we implement `max_element` in terms of `min_element` by inverting the predicate?

https://github.com/llvm/llvm-project/pull/100616


More information about the libcxx-commits mailing list