/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Array.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: aortigos +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/03/21 17:04:01 by aortigos #+# #+# */ /* Updated: 2026/03/21 17:04:01 by aortigos ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef ARRAY_HPP # define ARRAY_HPP # include # include # include template class Array { private: T *data; unsigned int _size; public: Array(); Array(unsigned int n); Array(const Array &other); Array &operator=(const Array &other); ~Array(); T &operator[](unsigned int i); T const &operator[](unsigned int i) const; unsigned int size() const; }; #include "Array.tpp" #endif