- 博客(1)
- 收藏
- 关注
原创 C++中模板类使用友元模板函数
问题始于学习数据结构,自己编写一个单链表,其中用到了重载输出运算符template class List{ friend std::ostream& operator & slist); //……};用vs2008可编译,但无法链接:无法解析的外部符号……后来上网查改为template class List{ friend std::ostream& operator
2009-09-22 14:32:00
2165
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人