Doubly Linked List

How can I write a code for this Push function:
template < typename T >
List<T>::Push(const T&
Last edited on
Are you still in the circular list of yours: http://www.cplusplus.com/forum/general/253962/
(If yes, then you are double-posting. That is not efficient.)


As pointed out in the other thread, there is no node before the head node in a non-circular list.
Topic archived. No new replies allowed.