[libcxx-commits] [libcxx] [libc++] Provide sized deallocation declarations even when the compiler doesn't support sized deallocation (PR #125577)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 3 13:13:12 PST 2025


https://github.com/philnik777 requested changes to this pull request.

I don't think this is a good idea. If sized deallocation is disabled there tends to be a reason for that - most likely that they're not available. This just pushes the diagnostic to be a linker error instead most likely, which isn't great. So unless there is a good use-case for sized deallocation being disabled at the language level but should be provided by the library I don't think we should go forward with this.

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


More information about the libcxx-commits mailing list