r/cpp • u/User_Deprecated • Aug 26 '26
C++26: std::inplace_vector
https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
181
Upvotes
r/cpp • u/User_Deprecated • Aug 26 '26
View all comments
Show parent comment
1
u/n1ghtyunso Aug 28 '26
inplace_vector<T, N>should be ill-formed because there are no zero-size arrays.But apparently the standard explicitly defined it to an empty struct essentially.
Probably something about generic programing support...
Not sure what you were going on about with the taggable pointer type here.