[libcxx-commits] [libcxx] [libc++] Simplify when the sized global deallocations overloads are available (PR #114667)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 27 09:09:03 PST 2024


================
@@ -104,18 +104,6 @@ void  operator delete[](void* ptr, void*) noexcept;
 #endif
 
 #if defined(__cpp_sized_deallocation) && __cpp_sized_deallocation >= 201309L
----------------
ldionne wrote:

```suggestion
#if defined(_LIBCPP_BUILDING_LIBRARY) || (defined(__cpp_sized_deallocation) && __cpp_sized_deallocation >= 201309L)
```

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


More information about the libcxx-commits mailing list