[libcxx-commits] [libcxx] [libc++] constexpr flat_map (PR #137453)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat May 3 01:13:41 PDT 2025
================
@@ -1304,6 +1304,9 @@ module std [system] {
header "flat_map"
export *
+ export std.algorithm.ranges_sort
+ export std.ranges.zip_view
+ export std.tuple
----------------
huixie90 wrote:
The short answer: I don't think I have any clue on how clang modules work exactly. I don't even know why exporting these are required at all. These things are all internal details of the implementation of `flat_map` and the users will not touch them at all. Their headers are properly included directly by `flat_map.h`.
However, as soon as I added `constexpr` to the member functions, I got loads of *linker* errors about the missing symbols like `__intro_sort<.....>`
https://github.com/llvm/llvm-project/pull/137453
More information about the libcxx-commits
mailing list