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