阅读背景:

在C ++中,内存中的类函数放在哪里?

来源:互联网 

I'm trying to understand what kind of memory hit I'll incur by creating a large array of objects. I know that each object - when created - will be given space in the HEAP for member variables, and I think that all the code for every function that belongs to that type of object exists in the code segment in memory - permanently.I'm trying to understand what kind of memory hi




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

分享到: