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

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 3 15:44:37 PST 2025


var-const wrote:

> Yes, that's the point of the flag. You have to explicitly use the sized deallocation overload with this patch, but I don't see when you'd want to be able to manually call the function but not tell the compiler that it exists

Right, but that's a separate issue -- I'd like to first make sure this patch doesn't result in linker errors (in some contexts) before discussing whether we should do anything in the library to prevent silently ignoring user's overload.

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


More information about the libcxx-commits mailing list