CS202   7- ‹#›
Static Member Functions
ntree::tree(const tree &tree) :  //copy constructor
n  root(0) {
n  copy(root, tree.root);
n}
n
n//This is the implementation of a static member function
nvoid tree::copy(node* &new_node, const node* old_node) {
n  if(old_node) {
n    new_node = new node(old_node->emp);
n    copy(new_node->left, old_node->left);
n    copy(new_node->right, old_node->right);
n  }
n}
n