类模板当作函数的参数
摘要:
1 /* 类模板当作函数的参数 */ 2 3 #include 4 #include 5 6 using namespace std; 7 8 template 9 void printandadd(array ar)// 有类模板参数的函数一定是函数模板10 {11 for(aut... 阅读全文
posted @ 2015-06-11 16:46 Dragon-wuxl 阅读(206) 评论(0) 推荐(0)
posted @ 2015-06-11 16:46 Dragon-wuxl 阅读(206) 评论(0) 推荐(0)
posted @ 2015-06-11 16:27 Dragon-wuxl 阅读(105) 评论(0) 推荐(0)
posted @ 2015-06-11 16:06 Dragon-wuxl 阅读(1159) 评论(0) 推荐(0)
posted @ 2015-06-11 15:06 Dragon-wuxl 阅读(288) 评论(0) 推荐(0)