vector reserve « Vector « C++






1.Reserve memory for five elements to avoid reallocation