Node::~Node()
{
for (auto& child : _children)
{
child->_parent = nullptr;
}
}
node的析构函数没有调用_children.clear(); 那他的子节点是怎么析构释放的啊
Node::~Node()
{
for (auto& child : _children)
{
child->_parent = nullptr;
}
}
node的析构函数没有调用_children.clear(); 那他的子节点是怎么析构释放的啊