摘要: 本文介绍了C++ 运算符重载的用法,以我们构造的string类为例子,说明重载的用法。 构造我们自己的string类 声明如下 class mystring_ { public: mystring_(/* args */); mystring_(const mystring_ &mstr); mys 阅读全文
posted @ 2022-04-10 16:01 恋恋风辰 阅读(103) 评论(0) 推荐(0) 编辑