void test1(Bureaucrat &b, Form &f) { std::cout << "\033[35mtest1: \033[0m" << std::endl; std::cout << b.getName() << "(" << b.getGrade() << ") trying to sign " << f.getName() << "(" << f.getSGrade() << ")" << std::endl; b.signForm(f); std::cout << std::endl; return ; }
Bureaucrat::Bureaucrat(Bureaucrat const &src) : Name(src.getName()), Grade(src.getGrade()) {}
Bureaucrat::Bureaucrat(Bureaucrat const & src) : _name(src.getName()) { *this = src; return; }
Bureaucrat::Bureaucrat(Bureaucrat &src) : name(src.getName()) { this->grade = src.getGrade(); }
Bureaucrat::Bureaucrat( Bureaucrat const & cpy) : name(cpy.getName()), grade(cpy.getGrade()) { checkGrade(); }