You are viewing a single comment's thread. Return to all comments →
std::ostream &operator<<(std::ostream &out, const Person &p){ out << "first_name=" + p.get_first_name() << "," << "last_name=" + p.get_last_name(); return out; }
Seems like cookies are disabled on this browser, please enable them to open this website
Overloading Ostream Operator
You are viewing a single comment's thread. Return to all comments →