#ifndef BINARY_SEARCH_TREE_ITERATIVE #define BINARY_SEARCH_TREE_ITERATIVE #ifndef nullptr #define nullptr 0 #endif #include #include #include "Exception.h" #include "Binary_search_node_iterative.h" template class Binary_search_tree { private: Binary_search_node *root_node; Binary_search_node *root() const; public: Binary_search_tree(); ~Binary_search_tree(); bool empty() const; int size() const; int height() const; Type front() const; Type back() const; bool find( Type const & ) const; bool insert( Type const & ); bool erase( Type const & ); void clear(); }; template Binary_search_tree::Binary_search_tree(): root_node( nullptr ) { } template Binary_search_tree::~Binary_search_tree() { } template Binary_search_node *Binary_search_tree::root() const { } template bool Binary_search_tree::empty() const { } template int Binary_search_tree::size() const { } template int Binary_search_tree::height() const { } template Type Binary_search_tree::front() const { } template Type Binary_search_tree::back() const { } template bool Binary_search_tree::find( Type const &obj ) const { } template void Binary_search_tree::clear() { } template bool Binary_search_tree::insert( Type const &obj ) { } template bool Binary_search_tree::erase( Type const &obj ) { } #endif