#include #include using namespace std; class Person { public: string toString () {firstName + " " + lastName + " " + birthdate}; friend ostream& operator<< (ostream& out, const Person& rhs); } ostream& operator<< (ostream& out, const Person& rhs) { return (out << rhs.toString()); }