C++ 中low-level const 初始化问题
ringa_lee
ringa_lee 2017-04-17 13:06:25
0
1
521
ringa_lee
ringa_lee

ringa_lee

reply all(1)
刘奇
string normalString = cstString ; //发生了一次拷贝
string& normalString = cstString ; //没有发生拷贝,但是编译会报错,不能把const对象绑给non-const引用
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template