阅读背景:

调用std:::vector: clear()会将std:::vector:::capacity()设为零吗?

来源:互联网 

If I use .reserve(items) on a vector, the vector will allocate enough memory for my guess of the number of items that I'll need.If I use .reserve(items) on a vector, the vecto




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: