[libcxx-commits] [libcxx] [libcxx] improves diagnostics for containers with bad value types (PR #106296)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Sep 3 10:50:13 PDT 2024
================
@@ -211,10 +211,18 @@ template <class T, class Allocator, class Predicate>
#include <__ranges/from_range.h>
#include <__ranges/size.h>
#include <__split_buffer>
+#include <__type_traits/diagnostic_utilities.h>
#include <__type_traits/is_allocator.h>
+#include <__type_traits/is_array.h>
+#include <__type_traits/is_const.h>
#include <__type_traits/is_convertible.h>
+#include <__type_traits/is_function.h>
+#include <__type_traits/is_reference.h>
#include <__type_traits/is_same.h>
#include <__type_traits/is_swappable.h>
+#include <__type_traits/is_void.h>
+#include <__type_traits/is_volatile.h>
+#include <__type_traits/remove_reference.h>
----------------
ldionne wrote:
I don't think these includes should be necessary. This applies to other headers too.
https://github.com/llvm/llvm-project/pull/106296
More information about the libcxx-commits
mailing list