+ allocVec.cpp: constructs std::vector in a loop.