C++ does initialization of empty vector call default constructior code example Example: how to initialize a vector in c++ std::vector<type> name;