[libcxx-commits] [libcxx] [libc++] Remove <queue> and <stack> includes from <format> (PR #85520)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 19 23:33:18 PDT 2024


================
@@ -18,11 +18,11 @@
 #include <__format/concepts.h>
 #include <__format/formatter.h>
 #include <__format/range_default_formatter.h>
+#include <__fwd/queue.h>
+#include <__fwd/stack.h>
----------------
frederick-vs-ja wrote:

Why do we need place these concrete `formatter` specializations in a concentrated header?
IIRC these specializations should be placed in `<stack>` and `<queue>`, see cplusplus/draft#6635. (The change was not so editorial to me, but Daniel told me it was.)

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


More information about the libcxx-commits mailing list