[libcxx-commits] [libcxx] [libc++] Move out `flat_map::iterator` (for reusing it in flat_multimap) (PR #117445)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sun Nov 24 06:04:04 PST 2024


================
@@ -40,6 +40,7 @@ namespace std {
 #include <__assert> // all public C++ headers provide the assertion handler
 #include <__config>
 #include <__flat_map/flat_map.h>
+#include <__flat_map/key_value_iterator.h>
----------------
philnik777 wrote:

This shouldn't be included here, since it's just an implementation detail of `flat_map`. You have to re-export `key_value_iterator` in the modulemap instead.

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


More information about the libcxx-commits mailing list