/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Point.class.cpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: Bastien Chanot +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/07/18 19:15:01 by Bastien Chanot #+# #+# */ /* Updated: 2025/07/18 19:16:41 by Bastien Chanot ### ########.fr */ /* */ /* ************************************************************************** */ #include "Point.class.hpp" #include Point::Point(void) : _x(0), _y(0) { std::cout << "Default constructor called" << std::endl; return ; } Point::Point(Point const &src) { *this = src; std::cout << "Copy constructor called" << std::endl; return ; } Point::~Point(void) { std::cout << "Default destructor called" << std::endl; return ; } Point &Point::operator=(Point const &src) { std::cout << "Copy assignment operator called" << std::endl; return *this; }