[libcxx-commits] [libcxx] [libc++] Implement `ranges::fold_right` (PR #193997)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun May 3 09:37:26 PDT 2026
================
@@ -23,6 +23,7 @@
#include <__iterator/concepts.h>
#include <__iterator/iterator_traits.h>
#include <__iterator/next.h>
+#include <__iterator/reverse_iterator.h>
----------------
frederick-vs-ja wrote:
Hmm. I think it's fine to use `reverse_iterator` now. In the future I think we should investigate whether it's worthwhile introducing `__for_each_backward` to save throughput.
https://github.com/llvm/llvm-project/pull/193997
More information about the libcxx-commits
mailing list