21 explicit Person(std::string name);
A fairly simple class for Person.
virtual ~Person()
Destructor.
Person & operator=(const Person &)=delete
Disallow copy-assignmentof people:
Person(std::string name)
Constructor initializes the name of the person.
std::string get_name() const
Return the persons name.