[libcxx-commits] [libcxx] [libc++] Implement ranges::iota (PR #68494)

James E T Smith via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jul 26 09:24:21 PDT 2024


================
@@ -1587,6 +1588,10 @@ module std_private_numeric_pstl                     [system] {
   export *
 }
 module std_private_numeric_reduce                   [system] { header "__numeric/reduce.h" }
+module std_private_numeric_ranges_iota              [system] {
+  header "__numeric/ranges_iota.h"
+  export std_private_algorithm_out_value_result
----------------
jamesETsmith wrote:

Interesting, I saw several other that did re-export it, I can't remember which ones I originally saw that prompted me to do this, but here are a couple https://github.com/llvm/llvm-project/blob/ba45453c0a5df3e6c3eddee647e14c97e02243fa/libcxx/include/module.modulemap#L736-L743. I don't have a real preference here so I'm happy to delete this, but just wanted to point out that some algorithms do re-export the result type they use

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


More information about the libcxx-commits mailing list