39 lines
1.3 KiB
C++
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);
|
|
}
|