[libcxx-commits] [libcxx] [libc++] Reduce the amount of formatter code included in <vector> (PR #178683)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 4 01:13:21 PST 2026


================
@@ -7,22 +7,13 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef _LIBCPP___FORMAT_FORMATTER_BOOL_H
-#define _LIBCPP___FORMAT_FORMATTER_BOOL_H
+#ifndef _LIBCPP___FORMAT_FORMATTER_BOOL_DECL_H
----------------
philnik777 wrote:

This still has quite a few dependencies, since we have to allow instantiating `formatter<bool>`. We'd pull in significant amounts of code into the forward header if we put it there.

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


More information about the libcxx-commits mailing list