[闲聊] C++的local变量

楼主: star123 (光二比利海灵顿)   2019-12-15 20:59:05
void anal(node* n)
{
node* nodeToDelete = n;
delete nodeToDelete;
}
这样子呼叫完之后 nodeToDelete这个local指标要另外处理吗
还是local变量也都要自己处理??

Links booklink

Contact Us: admin [ a t ] ucptt.com