g++ -std=c++11 for vector_reallocation.cpp