Files
cpp04/ex01/Brain/Brain.cpp
Angel Ortigosa Perez b4b5a9b592 Created Brain
2025-11-10 13:13:26 +01:00

39 lines
1.3 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Brain.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/10 11:22:21 by aortigos #+# #+# */
/* Updated: 2025/11/10 12:45:21 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#include "Brain.hpp"
Brain::Brain()
{
std::cout << "Brain has been created" << std::endl;
}
Brain::~Brain()
{
std::cout << "Brain has been destroyed" << std::endl;
}
Brain::Brain(const Brain &other)
{
std::cout << "Brain copied" << std::endl;
}
Brain& Brain::operator=(const Brain &other)
{
std::cout << "Brain copy assignment called" << std::endl;
if (this != &other)
{
}
return (*this);
}