[libcxx-commits] [libcxx] [libc++] Use __detected_or_t to implement __has_iterator_{category, concept}_convertible_to (PR #124456)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 26 00:54:46 PDT 2025


================
@@ -410,7 +410,11 @@ module std [system] {
     module copy_backward                          { header "__algorithm/copy_backward.h" }
     module copy_if                                { header "__algorithm/copy_if.h" }
     module copy_move_common                       { header "__algorithm/copy_move_common.h" }
-    module copy_n                                 { header "__algorithm/copy_n.h" }
+    module copy_n                                 {
+      header "__algorithm/copy_n.h"
+
+      export std.iterator_traits
----------------
philnik777 wrote:

I can't remember anymore why, but I'm quite certain I've looked into this.

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


More information about the libcxx-commits mailing list