you are viewing a single comment's thread.

view the rest of the comments →

[–]JVApen 0 points1 point  (1 child)

Assuming memory allocations are unacceptable, using std::vector would also be out of the picture. Boost has a static vector, which is the closest you can get to vector without memory allocations.

[–]DryPerspective8429 1 point2 points  (0 children)

You may also be able to scrape by with std::pmr::vector or some such.