摘要: operator T()提供了一个本类型到T的隐式转换,不允许使用参数 class B { private: int _b; public: B(int b):_b(b){} ~B(){} const int getB()const{return _b;} bool operator ==(B& b 阅读全文
posted @ 2023-11-02 20:50 MrHCD 阅读(90) 评论(0) 推荐(0)