[libcxx-commits] [libcxx] [libc++] Implement the `<type_traits>` parts of P1317R2 (PR #151480)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 2 14:58:51 PST 2025


================
@@ -30,11 +54,46 @@ module std_core [system] {
     export *
   }
 
+  module get_fwd {
+    header "__fwd/get.h"
+    export std_core.fwd.pair
+    export std_core.fwd.tuple
+    export std_core.fwd.array
+    export std_core.fwd.complex
+    export std_core.fwd.subrange
+    export std_core.fwd.variant
+  }
+
+  // Only the truly dependency-free parts of __functional are here
+  module functional_core {
+    module invoke   { header "__functional/invoke.h" }
+  }
+
   module fwd {
+    module array        { header "__fwd/array.h" }
+    module complex      { header "__fwd/complex.h" }
     module byte         { header "__fwd/byte.h" }
     module functional   { header "__fwd/functional.h" }
     module pair         { header "__fwd/pair.h" }
+    module subrange     { header "__fwd/subrange.h" }
     module tuple        { header "__fwd/tuple.h" }
+    module variant      { header "__fwd/variant.h" }
+  }
+
+  // Only the truly dependency-free parts of __iterator are here
+  module iterator_core {
----------------
ldionne wrote:

```suggestion
  module iterator {
```

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


More information about the libcxx-commits mailing list