Uninitialized memory blocks in VC++

前端 未结 15 1237
鱼传尺愫
鱼传尺愫 2020-12-19 08:49

As everyone knows, the Visual C++ runtime marks uninitialized or just freed memory blocks with special non-zero markers. Is there any way to disable this behavior entirely w

15条回答
  •  醉梦人生
    2020-12-19 08:57

    You could create a memory manager also. Then you could override new and delete to pull from/put back a pre allocated chuck of memory.

提交回复
热议问题