| 1234567891011121314151617181920212223242526272829303132 |
- /* ************************************************************************** */
- /* */
- /* ::: :::::::: */
- /* Fixed.class.cpp :+: :+: :+: */
- /* +:+ +:+ +:+ */
- /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
- /* +#+#+#+#+#+ +#+ */
- /* Created: 2025/07/16 16:07:34 by bchanot #+# #+# */
- /* Updated: 2025/07/16 16:14:24 by bchanot ### ########.fr */
- /* */
- /* ************************************************************************** */
- #include "Fixed.class.hpp"
- #include <iostream>
- Fixed::Fixed(void) : _value(0), _integer(8) {
- std::cout << "Default constructor called" << std::endl;
- return ;
- }
- Fixed::Fixed(Fixed const &src) {
- *this = src;
- std::cout << "Copy constructor called" << std::endl;
- return ;
- }
- Fixed::~Fixed(void) {
- std::cout << "Destructor called" << std::endl;
- return ;
- }
|