1 | initial version |
There is no Standard Library container that can contain a different number of elements without using dynamic memory allocation. All STL containers require a fixed size determined at compile-time or allocate memory dynamically if their size needs to change at runtime.