//改成this -> fun()怎么不行呢?ostream& operator

来源:学生作业帮助网 编辑:六六作业网 时间:2024/05/22 19:04:44
//改成this->fun()怎么不行呢?ostream&operator//改成this->fun()怎么不行呢?ostream&operator//改成this->fun()怎么不行呢?ostre

//改成this -> fun()怎么不行呢?ostream& operator
//改成this -> fun()怎么不行呢?
ostream& operator

//改成this -> fun()怎么不行呢?ostream& operator
这个重载只能是友元重载,ostream类不是A类型的,是外部的所以,只能这样写,
friend ostream& operator