有一些用户空间解决方案可以解决这个问题。例如为父类创建一个解构函数将直接释放子对象。
There are a few user space solutions to this problem, such as creating a destructor for the parent class that will release the child object directly.
直到函数调用彻底完成 时,活动记录使用的空间才会被释放以便重用(更多信息请参看后面的介绍)。
Only when the function call is completely finished is the space for the activation record released for reuse (more on this later).
利用指针和动态分配函数实现程序运行中堆的自由空间的支配和释放。
The guide finger and functions of dynamic distribution are used to realize the government and release of free space piled in programs movement.
应用推荐