[libcxx-commits] [libcxx] [libcxx] Align allocation to match `__set_long_cap` and `__get_long_cap` (PR #90292)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 30 10:46:42 PDT 2024


philnik777 wrote:

What I'm saying is that `__recommend()` should always return an odd number (`__recommend()` should return the same value as `size()` IIRC), and adding one (for the null terminator) would result in an even number.

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


More information about the libcxx-commits mailing list