Unlimited arrays can (and usually) be statically allocated.
The main problem when implementing an unlimited array is to provide a dynamic array, such as freedom, to determine the size of the array at runtime without penalties for the performance of memory allocation at runtime.
-
. limit size, , . , size, , size. , , limit . limit , .
, size limit , .
( ) :
, ( ), , :
add_to_end()delete_from_end()
.
, Insert_in_middle() Delete_in_middle(), , .
. .
. , , . C++ std::vector, , .
>