Lines Matching refs:T
42 template<typename T>
51 explicit _Node(const T& val) : mVal(val) {} in _Node()
53 inline T& getRef() { return mVal; } in getRef()
54 inline const T& getRef() const { return mVal; } in getRef()
57 inline void setVal(const T& val) { mVal = val; } in setVal()
63 T mVal;
167 List(const List<T>& src) { // copy-constructor in List()
176 typedef _ListIterator<T, NON_CONST_ITERATOR> iterator;
177 typedef _ListIterator<T, CONST_ITERATOR> const_iterator;
179 List<T>& operator=(const List<T>& right);
208 void push_front(const T& val) { insert(begin(), val); } in push_front()
209 void push_back(const T& val) { insert(end(), val); } in push_back()
212 iterator insert(iterator posn, const T& val) in insert()
313 template<class T>
314 List<T>& List<T>::operator=(const List<T>& right)