身为菜鸡,不懂像下图中这样初始化为什么会出问题,等了解透彻后再详细写
解决方法:
BinaryTreeNode(const T& theElement):element(theElement){.......}