dangling object
基本解释
- [计算机科学技术]悬空对象
英汉例句
- A dangling alias occurs when two classes each think (mistakenly) that they hold the only writeable reference to a given object.
当两个类都(错误地)认为自己保存有对给定对象的惟一可写的引用时,就会出现悬空指针。 - To avoid dangling pointers (the dangerous situation where a block of memory is freed but a pointer still references it), you must delete the object only after the last reference is released.
为了避免悬空指针(一种危险的情况,即一块内存已经被释放了,而一个指针还在引用它),必须在最后的引用释放之后才删除对象。
双语例句
专业释义
- 悬空对象