template <class K,class E> bool dataList<K,E>:Insert (Kk,E el) /在dataListr的尾部插入新元素,若插入失败,函数返 /回false,否则返回true. if (CurrentSize =ArraySize)return false; dataNode<K,E>node dataNode<K,E>(k,el); Element[CurrentSize]=node;/插入在尾端 CurrentSize++;return true; ; 11template <class K, class E> bool dataList<K, E>::Insert (K k, E e1) { //在dataList的尾部插入新元素, 若插入失败,函数返 //回false, 否则返回true. if (CurrentSize == ArraySize) return false; dataNode<K, E> node = dataNode<K, E> (k,e1); Element[CurrentSize] = node; //插入在尾端 CurrentSize++; return true; }; 11