operator<< overloading ostream

后端 未结 3 1835
离开以前
离开以前 2021-01-18 13:16

In order to use cout as such : std::cout << myObject, why do I have to pass an ostream object? I thought that was an implicit parameter.

ostream &o         


        
3条回答
提交回复
热议问题