Files

35 lines
791 B
C++
Raw Permalink Normal View History

2026-10-04 00:04:20 +08:00
//-------------------------------------------------------------------------------------------------------+
2026-09-28 15:28:50 +08:00
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
2026-10-04 00:04:20 +08:00
// = FileName : TDListNode 模板类
2026-09-28 15:28:50 +08:00
// = Version : ver2.0
// = Author : wlw
// = CreateDate : 2002-09-09
2026-10-04 00:04:20 +08:00
// = Description: TDListNode 声明 双向循环链表结点
2026-09-28 15:28:50 +08:00
// = Maintainers:
//
//-------------------------------------------------------------------------------------------------------+
#ifndef _TDLISTNODE_H_
#define _TDLISTNODE_H_
#ifndef _TLISTNODE_H_
#include "TListNode.h"
#endif
template<class T> class TDListNode : public TListNode< T >
{
public:
TDListNode<T>();
public:
TListNode<T>* pre;
};
template<class T>
TDListNode<T>::TDListNode()
: pre(NULL)
{
}
#endif