由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - an important update in clrs 3rd ed
相关主题
一个简单的小问题delete this problem
问个C++中重复删除指针的问题C++ pointer problem
还是成员函数指针,试试这个诡异的东东吧。a c++ question
怎么检测c++ smart pointer的循环引用?请教 C++的一个困惑 (operator delete)
最新的MS面试题 (转载)请问delete的问题
问一个关于C++指针的问题aggregation vs. compostion. vs. association
请教 C++ 题shared_ptr处理stack上面的指针
new and delete in c++问个c++在不同函数里分配内存和释放内存的弱问题
相关话题的讨论汇总
话题: node话题: nodes话题: deleted话题: pointers话题: deletion
进入Programming版参与讨论
1 (共1页)
g*********s
发帖数: 1782
1
The way we delete a node from binary search trees (which includes red-
black
trees) now guarantees that the node requested for deletion is the node
that is
actually deleted. In the first two editions, in certain cases, some other
node
would be deleted, with its contents moving into the node passed to the
deletion
procedure. With our new way to delete nodes, if other components of a
program
maintain pointers to nodes in the tree, they will not mistakenly end up
with stale
pointers to nodes that have been deleted.
1 (共1页)
进入Programming版参与讨论
相关主题
问个c++在不同函数里分配内存和释放内存的弱问题最新的MS面试题 (转载)
Smart Pointer问一个关于C++指针的问题
关于多个smart pointer系统并存的问题请教 C++ 题
c++里 weak_ptr用起来是不是耗时间?new and delete in c++
一个简单的小问题delete this problem
问个C++中重复删除指针的问题C++ pointer problem
还是成员函数指针,试试这个诡异的东东吧。a c++ question
怎么检测c++ smart pointer的循环引用?请教 C++的一个困惑 (operator delete)
相关话题的讨论汇总
话题: node话题: nodes话题: deleted话题: pointers话题: deletion