阅读背景:

我应该采取什么预防措施来制作一个不会调用未定义行为的内存池?

来源:互联网 

My initial problem is that I have, on a project, several objects which share a lifetime (i.e., once I free one of them, I'll free them all), then I wanted to allocate a single block of memory. I have arrays of three different object types, My initial problem is that I have, on a project




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

分享到: