#include
class OutOfBound {};
using namespace std;
template
class linkList : public list
{
private:
struct node {
elemType data;
node *prev, *next;
node(const elemType &x, node *p = NULL, node *n = NULL)
{
data = x; next = n; prev = p;
}
node() :next(NULL), prev(NULL) {}
~node() {}
};
node *head, *tail;
}
以上的斜体加粗是什么意思,是指定义什么类型的指针啊。。初学..