Delete


Detach list item from the bi-directional linked list destroying it. Returns next item after the one being deleted. Argument head should point to the list head. If list head is being removed, the new list head will be set in this argument value. The third function in the list can be used to delete a list of items starting from first and ending with last.

template<class Type> TList<Type> *Delete(TList<Type> &list);
template<class Type> TList<Type> *Delete(PList<Type> &head, TList<Type> &list);
template<class Type> TList<Type> *Delete(PList<Type> &head, TList<Type> &first, TList<Type> &last);
Namespace: ntl
Include: NTL/Core/List.h