正在加载图片...
Implement the class template(cont template< typename elemtype inl ine void Binary Tree<elemtype> remove( const elemtype& elem) if (! m root) if(m root->m Val==elem) remove root //will be handled speciall else m root->remove value(elem, m root)Implement the class template (cont.) template < typename elemtype > inline void BinaryTree<elemtype>::remove(const elemtype& elem) { if (! m_root) if (m_root->m_Val == elem) remove_root(); //will be handled specially else m_root->remove_value(elem, m_root); };
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有