C++26: std::inplace_vector -- Sandor Dargo
Sandor Dargo examines std::inplace_vector, a new C++26 container offering vector-like dynamic resizing with compile-time fixed capacity and element storage held inside the container object, with no dynamic allocation. The article covers its API, overflow-handling options, performance considerations and comparisons with std::vector and std::array. The container was introduced by P0843R14 and refined by later C++26 papers including P3981R2, P4022R0 and P3074R7, targeting bare-metal, latency-sensitive and serialization use cases.
AI-written summary, checked against the cited sources. How summaries work