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

5

u/_Noreturn Aug 27 '26

then make it a union this is a simplified example. but the type isn't complex at all after that especially with C++20 concepts.