add: ex02
This commit is contained in:
@ -8,7 +8,8 @@ Bureaucrat::Bureaucrat()
|
||||
std::cout << "Bureaucrat()" << std::endl;
|
||||
}
|
||||
|
||||
Bureaucrat::Bureaucrat(const Bureaucrat& src)
|
||||
Bureaucrat::Bureaucrat(const Bureaucrat& src):
|
||||
_name(src._name)
|
||||
{
|
||||
*this = src;
|
||||
std::cout << "Bureaucrat(Bureaucrat)" << std::endl;
|
||||
|
@ -9,7 +9,8 @@ Form::Form()
|
||||
std::cout << "Form()" << std::endl;
|
||||
}
|
||||
|
||||
Form::Form(const Form& src)
|
||||
Form::Form(const Form& src):
|
||||
_name(src._name)
|
||||
{
|
||||
std::cout << "Form(Form)" << std::endl;
|
||||
*this = src;
|
||||
|
Reference in New Issue
Block a user