[libcxx-commits] [libcxx] [libc++][ranges] LWG4016: container-insertable checks do not match what container-inserter does (PR #113103)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Mon Oct 21 18:54:40 PDT 2024


================
@@ -10,15 +10,13 @@
 #ifndef _LIBCPP___RANGES_TO_H
 #define _LIBCPP___RANGES_TO_H
 
-#include <__algorithm/ranges_copy.h>
+#include <__algorithm/ranges_for_each.h>
----------------
frederick-vs-ja wrote:

We can remove this inclusion given actually call to `ranges::for_each` is avoided.
```suggestion
```

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


More information about the libcxx-commits mailing list