You are viewing a single comment's thread. Return to all comments →
ostream &operator<<(ostream &out, const Person &obj){ return out<<"first_name="<<obj.get_first_name()<<",last_name="<<obj.get_last_name(); }
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 →