This template represents bi-directional linked list.
template<class Type>
struct TList
{
Type Item;
TList *Prev;
TList *Next;
TList(const Type &item);
TList(const Type &item, TList *prev);
};
Also there are some functions which can be used with TList template. Here they are.
Namespace: | ntl |
Include: | NTL/Core/List.h |