[libcxx-commits] [libcxx] [libc++] Optimize {std, ranges}::for_each for iterating over __trees (PR #164405)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Dec 2 08:10:16 PST 2025
================
@@ -0,0 +1,131 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// <algorithm>
+
+// template<InputIterator Iter, class Function>
+// constexpr Function // constexpr since C++20
+// for_each(Iter first, Iter last, Function f);
----------------
ldionne wrote:
This is the wrong signature.
https://github.com/llvm/llvm-project/pull/164405
More information about the libcxx-commits
mailing list