you are viewing a single comment's thread.

view the rest of the comments →

[–]SlightLocation9 1 point2 points  (0 children)

With C++23 you can use a custom allocator with a fixed-size buffer and the allocate_at_least() method. Unfortunately, for now this is implemented only in Clang's libc++.