阅读背景:

对于数据成员,如果包含对象已经在动态内存中,那么动态分配此变量(或不是)之间是否有任何区别?

来源:互联网 

I'm starting with the assumption that, generally, it is a good idea to allocate small objects in the stack, and big objects in dynamic memory. Another assumption is that I'm possibly confused while trying to learn about memory, STL containers and smart pointers.I'm starting with the assumption that, generall




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

分享到: