[libcxx-commits] [libcxx] [libc++] Pass type information down to __libcpp_allocate (PR #118837)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 7 09:40:37 PST 2025
================
@@ -29,7 +29,7 @@ _LIBCPP_CONSTEXPR inline _LIBCPP_HIDE_FROM_ABI bool __is_overaligned_for_new(siz
#endif
}
-template <class... _Args>
+template <class _Tp, class... _Args>
----------------
ldionne wrote:
Eventually, we would want to call a typed `operator new` once https://wg21.link/p2719 lands. But I'm fine with only passing the type information to `__libcpp_allocate` for now, until we need it upstream.
https://github.com/llvm/llvm-project/pull/118837
More information about the libcxx-commits
mailing list