[libcxx-commits] [libcxx] [libc++] Prevent calling the projection more than three times (PR #66315)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 15 07:24:41 PDT 2023


================
@@ -0,0 +1,17 @@
+#include <algorithm>
----------------
ldionne wrote:

As a general note, we require a license at the top of our files (headers, source files, etc.).

However, in this case I think you should add the new test inside `libcxx/test/std/algorithms/alg.sorting/alg.clamp/ranges.clamp.pass.cpp` with a comment like `// Make sure we don't call the projection more than three times per [alg.clamp], see #64717`.

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


More information about the libcxx-commits mailing list