[libcxx-commits] [libcxx] [libc++] Add `ranges::fold_left_first` and `ranges::fold_left_first_with_iter` (PR #121558)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 25 00:55:57 PDT 2025
================
@@ -82,14 +86,12 @@ struct __fold_left_with_iter {
[[nodiscard]] _LIBCPP_HIDE_FROM_ABI static constexpr auto operator()(_Ip __first, _Sp __last, _Tp __init, _Fp __f) {
using _Up = decay_t<invoke_result_t<_Fp&, _Tp, iter_reference_t<_Ip>>>;
- if (__first == __last) {
+ if (__first == __last)
----------------
philnik777 wrote:
Please avoid unrelated changes.
https://github.com/llvm/llvm-project/pull/121558
More information about the libcxx-commits
mailing list