#ifndef VECTOR_H #define VECTOR_H #include class Vector{ public: Vector(); Vector(int capacity); Vector(const Vector& other); Vector(int* arr, int size); ~Vector(); void push_back(int newElement); int getSize() const; int& operator[](const int& index); int operator[](const int& index) const; const Vector& operator=(const Vector& other); private: int capacity; int size; int* arr; }; struct outOfBoundsException{}; std::ostream& operator<<(std::ostream& os,const Vector& vec); #endif