ostream operator不使用引用时引发的问题

img


如果使用 ostream &operator<()就可以运行,求朋友帮忙解答下为什么