[libcxx-commits] [PATCH] D153336: [libc++] Fixes thread::id's operator<<.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Jul 15 07:31:52 PDT 2023
Mordante added inline comments.
================
Comment at: libcxx/include/__thread/thread.h:26
+#ifndef _LIBCPP_HAS_NO_LOCALIZATION
+# include <ios>
+#endif
----------------
Mordante wrote:
> ldionne wrote:
> > Is there any reason why we need `<ios>` and not just `<iosfwd>`? It would be really nice to try to avoid including `<ios>` from here since that's kind of a heavy header (especially with backward compatibility transitive includes enabled).
> Good point, I need locale too. However adding these two headers does not change the transitive includes.
@ldionne it seems there were additional includes needed after all.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153336/new/
https://reviews.llvm.org/D153336
More information about the libcxx-commits
mailing list