阅读背景:

如何估计std::map的内存使用量?

来源:互联网 

For example, I have a std::map with known sizeof(A) and sizeof(B), while map has N entries inside. How would you estimate its memory usage? I'd say it's something likeFor example, I have a std::map with known sizeo




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

分享到: