[libcxx-commits] [libcxx] [libc++] Externally instantiate std::vformat_to (PR #71009)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 2 10:07:23 PDT 2023


================
@@ -150,6 +150,10 @@
 #  define _LIBCPP_AVAILABILITY_HAS_NO_ADDITIONAL_IOSTREAM_EXPLICIT_INSTANTIATIONS_1
 #endif
 
+// Enable extern instantiations for <format> functions. This significantly reduces the amount of code generated in every
+// TU that uses most of the <format> and <print> utilities.
+// #  define _LIBCPP_AVAILABILITY_HAS_NO_FORMAT_EXPLICIT_INSTANTIATIONS
----------------
ldionne wrote:

This needs to be rebased on top of the other availability-touching patch.

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


More information about the libcxx-commits mailing list