[libcxx-commits] [PATCH] D122999: [libc++] Remove unused <iosfwd> include from <__debug>

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 3 10:07:58 PDT 2022


ldionne added inline comments.


================
Comment at: libcxx/include/module.modulemap:622
     header "iterator"
+    export iosfwd
     export *
----------------
philnik wrote:
> Why are you exporting `iosfwd` from `iterator`?
It is needed because `std::ostreambuf_iterator` & friends have a default template argument of `std::char_traits`. I could also try to use something more restricted in scope like exporting `char_traits` directly from `__iterator/ostreambuf_iterator.h`. I'll take a look.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122999/new/

https://reviews.llvm.org/D122999



More information about the libcxx-commits mailing list