//最大的区别体现在字符串拼接的时候 string str1="hello "; string str2="world"; str1 += str2; //此时内存中存在三个对象分别为str1("hello world"), str2("hello"),以及一个没有任何引用的垃圾
//最大的区别体现在字符串拼接的时候 string str1="hello "; string str2="world"; str1 += str2; //此时内存中存在三个对象分别为str1("hello world"), str2("hello"),以及一个没有任何引用的垃圾