全局函数中 ostream& operator<<(ostream &cout,Person &tmp) { cout << tmp.m_A << tmp.m_B; return cout; }
posted on 2021-04-23 16:07 lodger47 阅读(65) 评论(0) 收藏 举报