2015年8月27日

C++ string的size()和length()函数没有区别

摘要: C++标准库中的string中两者的源代码如下: size_type __CLR_OR_THIS_CALL length() const { // return length of sequence return (_Mysize); } size_type __CLR_... 阅读全文

posted @ 2015-08-27 20:48 lakeone 阅读(21999) 评论(1) 推荐(6) 编辑

导航