C++ vector as implemented in C.