#include template class Vector { public: Vector() { size_ = maxSize; for(int i=0; i& vec); private: int size_; T data_[maxSize]; }; template T& Vector::operator[](int index){ return data_[index]; } template const T& Vector::operator[](int index) const{ return data_[index]; } template std::ostream& operator<<(std::ostream& os, const Vector& vec) { os << "vector with " << vec.size() << " elements: " << endl; for(int i=0; i