// // Created by PC on 25-8-11. // #ifndef BINARYTREENODE_H #define BINARYTREENODE_H #include template class binaryTreeNode { public: std::pair element; binaryTreeNode* left; binaryTreeNode* right; binaryTreeNode() : left(nullptr), right(nullptr){} explicit binaryTreeNode(const std::pair& e) : element(e), left(nullptr), right(nullptr) {} binaryTreeNode(const std::pair& e, binaryTreeNode* l, binaryTreeNode* r) : element(e), left(l), right(r) {} }; #endif //BINARYTREENODE_H