// transcriber's note: include is added from slide because otherwise it will not compile #include #include template class Vector { public: explicit Vector(int initSize=0) : theSize{initSize}, theCapacity{initSize + SPARE_CAPACITY} {objects = new Object[theCapacity];} Vector(const Vector& rhs) : theSize{rhs.theSize}, theCapacity{rhs.theCapacity}, objects{nullptr} { objects = new Object[theCapacity]; for(int k=0;ktheSize){ Object *newArray = new int[newCapacity]; //CHANGE for (int k=0;k