[libcxx-commits] [libcxx] [libc++] Pass type information down to __libcpp_allocate (PR #118837)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 8 10:35:41 PST 2025


================
@@ -47,52 +47,61 @@ _LIBCPP_HIDE_FROM_ABI void __libcpp_operator_delete(_Args... __args) _NOEXCEPT {
 #endif
 }
 
+template <class _Tp>
 inline _LIBCPP_HIDE_FROM_ABI void* __libcpp_allocate(size_t __size, size_t __align) {
----------------
philnik777 wrote:

Exactly.

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


More information about the libcxx-commits mailing list