摘要: 有两个版本,const版本和非const版本。非const版本是给没有被const关键字修饰的对象使用的,const版本是给被const关键字修饰的常对象使用的。 String.h char& operator[](int i); char operator[](int i) const; Stri 阅读全文
posted @ 2020-07-11 12:26 一代枭雄 阅读(221) 评论(0) 推荐(0)