//---- public makeEmpty ( ) ----- template void BST::makeEmtpy ( ) { // just call private method makeEmpty ( root ); } //---- private makeEmpty ( ) ------ template void BST:: makeEmpty ( BinaryNode * & t ) { if ( t != NULL ) { makeEmpty ( t->left ); makeEmpty ( t->right ); delete t; } }