Created Brain
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/11/10 11:22:21 by aortigos #+# #+# */
|
||||
/* Updated: 2025/11/10 11:33:52 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/11/10 12:45:21 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -21,3 +21,18 @@ 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user