摘要:
#include <iostream>using namespace std;template<class T>class Test{public: friend ostream& operator << <> (ostream& out, const Test<T>& obj); Test(T n=0):num(n){} Test(const Test<T>& copy) { num = copy.num; }private: T num;};template<class T> 阅读全文
posted @ 2009-06-24 15:00
小 楼 一 夜 听 春 雨
阅读(278)
评论(0)
推荐(0)

浙公网安备 33010602011771号