0001 template <typename T> BNP<T> Splay<T>::search(const T& e) { 0002 BST::search(e); //按BST标准算法查找:无论结果如何,最后抵达的节点 0003 return _x ? splay(_x) : _p ? splay(_p) : nullptr; //都将随即伸展为_root 0004 } //search