- 博客(1)
- 收藏
- 关注
原创 关于c++中类型定义typedef和类模板能否共用问题
#include #include using namespace std;template class A{ typedef deque cont;protected: cont c;public: void push(T&t) { c.push_back(t); } void display() { for (int i = 0; i < c.size()
2016-08-20 21:09:32 12625
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人