1
0
Fork 0
This repository has been archived on 2021-11-03. You can view files and clone it, but cannot push or open issues or pull requests.
uni-m.cds-adv-prog/ex4.1/Housing.hh

27 lines
488 B
C++

#include <iostream>
#ifndef HOUSING_HH
#define HOUSING_HH
#include "Chassis.hh"
#include "Shell.hh"
class Housing {
public:
Housing() { std::cout << "Housing Constructor " << this << std::endl ; }
Housing(const Housing& h) :
chassis( h.chassis ),
shell( h.shell )
{
std::cout << "Housing Copy Constructor " << this << std::endl ;
}
~Housing() { std::cout << "Housing Destructor " << this << std::endl ; }
private:
Chassis chassis ;
Shell shell ;
} ;
#endif