Removed some comments
This commit is contained in:
@@ -6,18 +6,10 @@
|
|||||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2026/03/21 17:09:36 by aortigos #+# #+# */
|
/* Created: 2026/03/21 17:09:36 by aortigos #+# #+# */
|
||||||
/* Updated: 2026/03/22 21:40:55 by aortigos ### ########.fr */
|
/* Updated: 2026/03/22 21:42:21 by aortigos ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
// Construction with no parameter -> creates an empty array
|
|
||||||
// Construction with an unsigned int n as parameter
|
|
||||||
// Consctrucion by copy and assignment operator
|
|
||||||
// operator new [] to allocate memory
|
|
||||||
// Access elements by operator []
|
|
||||||
// Exception if access index out of bounds
|
|
||||||
// Function size
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
Array<T>::Array() : data(NULL), _size(0)
|
Array<T>::Array() : data(NULL), _size(0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user