- 博客(2)
- 收藏
- 关注
原创 类模板相互引用的问题(错误:缺少类型说明符-假定为int。注意:C++不支持默认int)
问题描述: 现在有两个模板类(头文件A.h为1~14行,头文件B.h为15~27行): 1: /////////////////////////////////////////// 2: // file A.h 3: // 4: #include "B.h" 5: 6: template class T> 7: class A
2015-06-07 19:12:51 641
原创 类模板相互引用的问题(错误:缺少类型说明符-假定为int。注意:C++不支持默认int)
问题描述: 现在有两个模板类(头文件A.h为1~14行,头文件B.h为15~27行): 1: /////////////////////////////////////////// 2: // file A.h 3: // 4: #include "B.h" 5: 6: template class T> 7: class A
2015-06-07 19:02:45 3402
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人