[libcxx-commits] [libcxx] [libcxx] Align allocation to match `__set_long_cap` and `__get_long_cap` (PR #90292)
Vitaly Buka via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 30 10:55:34 PDT 2024
vitalybuka wrote:
> Yes, it does. With `allocate_at_least` you can give it anything between the requested size and the actually allocated size. Because of that it's fine for us to drop a byte that's been promised by the allocator.
So, I am not sure then what are you asking?
new/delete size should match, without the patch it does not match.
I assume we can switch not non-sized delete, but it's less efficient.
https://github.com/llvm/llvm-project/pull/90292
More information about the libcxx-commits
mailing list