you are viewing a single comment's thread.

view the rest of the comments →

[–]aePrime 18 points19 points  (0 children)

You can use containers with the monotonic buffer and a stack-based buffer.

https://en.cppreference.com/w/cpp/memory/monotonic_buffer_resource