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

2

u/dapzar Sep 01 '26

If the capacity is so large that one starts to worry about memcpy performance (more than a few kB), then I probably don't want to use this type to have it on the stack.