Files
cpp05/ex03/Intern/Intern.cpp
2026-02-18 10:39:09 +01:00

44 lines
1.5 KiB
C++

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Intern.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/02/18 10:36:05 by aortigos #+# #+# */
/* Updated: 2026/02/18 10:36:05 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#include "Intern.hpp"
//////////////////
// Constructors //
//////////////////
Intern::Intern()
{
// std::cout << "Intern default constructor called" << std::endl;
}
Intern::Intern(const Intern &other)
{
*this = other;
// std::cout << "Intern copy constructor called" << std::endl;
}
Intern& Intern::operator=(const Intern &other)
{
if (this != &other)
{
// Copy attributes here
}
// std::cout << "Intern copy assignment operator called" << std::endl;
return (*this);
}
Intern::~Intern()
{
// std::cout << "Intern destructor called" << std::endl;
}