[libcxx-commits] [PATCH] D157298: [RFC][libc++] Reduce the size of translation units

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 7 10:15:16 PDT 2023


Mordante added inline comments.


================
Comment at: libcxx/include/__format/formatter.h:14
 #include <__config>
-#include <__format/format_fwd.h>
+#if _LIBCPP_STD_VER >= 20
 
----------------
Note `<vector>` includes this in C++20 even when it's only used in C++23. So in `<vector>` we could make this include optional.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157298



More information about the libcxx-commits mailing list