[libcxx-commits] [libcxx] [libc++] Remove allocator support from std::function (PR #140395)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jun 11 01:41:12 PDT 2025


================
@@ -17,13 +17,7 @@
 #include <__functional/binary_function.h>
 #include <__functional/invoke.h>
 #include <__functional/unary_function.h>
-#include <__iterator/iterator_traits.h>
 #include <__memory/addressof.h>
-#include <__memory/allocator.h>
-#include <__memory/allocator_destructor.h>
-#include <__memory/allocator_traits.h>
-#include <__memory/compressed_pair.h>
-#include <__memory/unique_ptr.h>
 #include <__type_traits/aligned_storage.h>
----------------
philnik777 wrote:

I couldn't find that it's a DR, so I've removed that claim. I still think we can treat it as a DR though.

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


More information about the libcxx-commits mailing list