r/cpp • • Aug 26 '26

C++26: std::inplace_vector

https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
181 Upvotes

121 comments sorted by

View all comments

Show parent comment

8

u/frayien Aug 27 '26

That's... a completely different thing for a completely different usage ?

1

u/NilacTheGrim Aug 30 '26

Yeah I guess so.

This really is a std::array that is more useful which can be nice for situations where you cannot allocate -- such as in a signal handler.