/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Array.tpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos class Array { private: T *element; unsigned int size; public: Array() { new T[n](); } Array(const Array &other) { if (this != other) { this->element = other.element; this->size = other.size; } return (*this); } Array& operator=(const Array &other) { this = other; } ~Array() { delete[] T; } Array(unsigned int n) { this->size = n; } int size() { return (this->size); } };