[libcxx-commits] [libcxx] [libc++][test] Fix increasing_allocator to meet `Cpp17Allocator` requirements (PR #115671)
Peng Liu via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 11 07:35:59 PST 2024
winner245 wrote:
I personally do not like the current solution, because `allocate_at_least` may end up allocating more memory than requested. Then we would have to immediately discard the newly allocated memory. If we revert back to `allocate`, we wouldn't have the problem.
https://github.com/llvm/llvm-project/pull/115671
More information about the libcxx-commits
mailing list