template struct Node { T value; Node* next; }; template typedef struct Node* ptLink; 这里用typedef申明一个模版结构体时报错 error C2823: typedef 模板 非法 error C2998: “Node *ptLink”: 不能是模板定义 不知道错在哪里 求大神解答。
收起
template struct Node* ptLink;
报告相同问题?